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

HitotsuCardtype

A card by its short name: its colour letter (W for a wild), its face — a digit, S skip, R reverse, D draw two, W wild, F wild draw four — and which copy of that card it is, so the two red fives are R50 and R51. Two cards are the same card to play when their first two letters are.

Import it

import type { HitotsuCard } from "@johnmorrisdotca/hitotsu";

Definition

type HitotsuCard = string;

Examples

import type { HitotsuCard } from "@johnmorrisdotca/hitotsu";
import { hitotsuWords } from "@johnmorrisdotca/hitotsu";

const value: HitotsuCard = "R70";
console.log(hitotsuWords(value));
red seven

What it prints (run when this page was built)

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