Skip to the content

Hitotsu一つ

Match the colour or number, call with one card left, and play classic or party rules against computers or at a shared table.

Hitotsu is Japanese for one: the call with one card left. About the name

Contents

Reference · Game engine and table

HITOTSU_CLASSICconstant

The published rules: no stacking, no jumping in, sevens and zeros as plain numbers, one card drawn, a Wild Draw Four that may be challenged, seven cards dealt.

Import it

import { HITOTSU_CLASSIC } from "@johnmorrisdotca/hitotsu";

Definition

const HITOTSU_CLASSIC: HitotsuOptions = { stacking: "off", jumpIn: false, sevenZero: false, drawToMatch: false, wildFour: "challenge", deal: 7 }

Members

NameTypeDescription
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).

jumpInboolean

Jump-in: a card identical to the one on top may be played out of turn, and play goes on from whoever played it.

sevenZeroboolean

Sevens and zeros: a seven swaps hands with a player of your choice, a zero passes every hand on round the table.

drawToMatchboolean

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).

deal5 | 7

Cards dealt to each player: seven, or five in party mode.

Examples

import { HITOTSU_CLASSIC } from "@johnmorrisdotca/hitotsu";
console.log(HITOTSU_CLASSIC);
{
  stacking: 'off',
  jumpIn: false,
  sevenZero: false,
  drawToMatch: false,
  wildFour: 'challenge',
  deal: 7
}

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hitotsu 1.4.0.