Reference · Game engine and table
hitotsuPointsfunction
What a card left in hand is worth to the player who went out.
Import it
import { hitotsuPoints } from "@johnmorrisdotca/hitotsu";
Definition
function hitotsuPoints(card: HitotsuCard): number
Parameters
| Name | Type | Description |
|---|---|---|
card | string | The physical card id; null draws the back where supported. |
Returns
number
What a card left in hand is worth to the player who went out.
Examples
import { hitotsuPoints } from "@johnmorrisdotca/hitotsu";
console.log(hitotsuPoints("WF0"));50What it prints (run when this page was built)