Reference · Game engine and table
HITOTSU_PARTYconstant
PARTY MODE: the house rules a big table plays by, and a short game — five cards each, one hand, draw cards stacking on any draw card, jumping in, and sevens and zeros moving hands round. Each can still be changed at the set-up.
Import it
import { HITOTSU_PARTY } from "@johnmorrisdotca/hitotsu";
Definition
const HITOTSU_PARTY: HitotsuOptions = { stacking: "any", jumpIn: true, sevenZero: true, drawToMatch: false, wildFour: "challenge", deal: 5 }
Members
| Name | Type | Description |
|---|---|---|
stacking | "off" | "same" | "any" | Stacking a draw card on a draw card, so the next player takes the total: never (the published rule), a Draw Two on a Draw Two and a Wild Draw Four on a Wild Draw Four, or any draw card on any (progressive draw). |
jumpIn | boolean | Jump-in: a card identical to the one on top may be played out of turn, and play goes on from whoever played it. |
sevenZero | boolean | Sevens and zeros: a seven swaps hands with a player of your choice, a zero passes every hand on round the table. |
drawToMatch | boolean | Draw until you can play, rather than one card. |
wildFour | "challenge" | "strict" | The Wild Draw Four: playable any time, and challengeable by the player it lands on (the published rule), or only when you hold nothing of the colour, and never challenged (no bluffing). |
deal | 5 | 7 | Cards dealt to each player: seven, or five in party mode. |
Examples
import { HITOTSU_PARTY } from "@johnmorrisdotca/hitotsu";
console.log(HITOTSU_PARTY);{
stacking: 'any',
jumpIn: true,
sevenZero: true,
drawToMatch: false,
wildFour: 'challenge',
deal: 5
}What it prints (run when this page was built)