nextSeatfunction
The next seat round the table, to the left: the order every game here plays in.
Import it
import { nextSeat } from "@johnmorrisdotca/toranpu";
Definition
function nextSeat(seat: number, seats: number): number
Parameters
| Name | Type | Description |
|---|---|---|
seat | number | The zero-based player seat. |
seats | number | The seat count or seat state supplied by this API. |
Returns
number
The next seat round the table, to the left: the order every game here plays in.
Examples
import { nextSeat } from "@johnmorrisdotca/toranpu";
console.log(nextSeat(3, 4));0What it prints (run when this page was built)