Reference · Game engine and table
HitotsuTableSetUptype
What a set-up sends beyond a length and the seats: the seed it was dealt from, and the house rules.
Import it
import type { HitotsuTableSetUp } from "@johnmorrisdotca/hitotsu";
Definition
type HitotsuTableSetUp = {
seed: number;
options: HitotsuOptions;
};
Members
| Name | Type | Description |
|---|---|---|
seed | number | |
options | HitotsuOptions |
Examples
import type { HitotsuTableSetUp } from "@johnmorrisdotca/hitotsu";
import { HITOTSU_CLASSIC } from "@johnmorrisdotca/hitotsu";
const value: HitotsuTableSetUp = { seed: 42, options: HITOTSU_CLASSIC };
console.log(value.seed);42What it prints (run when this page was built)