dealerOffunction
The seat that deals this deal: the first seat, then round to the left.
Import it
import { dealerOf } from "@johnmorrisdotca/toranpu/oh-hell";
Definition
function dealerOf(deal: number, seats: number): number
Parameters
| Name | Type | Description |
|---|---|---|
deal | number | The deal number or dealing specification. |
seats | number | The seat count or seat state supplied by this API. |
Returns
number
The seat that deals this deal: the first seat, then round to the left.
Examples
import { dealerOf } from "@johnmorrisdotca/toranpu/oh-hell";
console.log(dealerOf(0, 4));0What it prints (run when this page was built)