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

hitotsuStringsfunction

The table's words in a language: HITOTSU_STRINGS for "en", HITOTSU_STRINGS_JA for "ja".

Import it

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

Definition

function hitotsuStrings(language: HitotsuLanguage): Required<HitotsuStrings>

Parameters

NameTypeDescription
languageHitotsuLanguage

English or Japanese for the displayed words.

Returns

Required<HitotsuStrings>

The complete native string table for the requested language.

Examples

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

console.log(hitotsuStrings("ja").yourTurn);
あなたの番

What it prints (run when this page was built)

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