Skip to the content

Gunjin軍人

Play five hidden-rank games, keep setups private, share redacted views and replay, and pass one device between players.

Gunjin is the Japanese word 軍人 for a soldier. About the name

Contents

Reference · Hidden Hasami rules

createHasamiMatchfunction

Makes a Hasami-inspired match with a 7×7 or 9×9 board.

Import it

import { createHasamiMatch } from "@johnmorrisdotca/gunjin/hasami";

Definition

function createHasamiMatch(size?: SetupSize): ReturnType<typeof createMatch>

Parameters

NameTypeDescription
size (optional)SetupSize

A supported board size; Hasami accepts 7 or 9 square holes per side.

Returns

AuthoritativeMatch

Makes a Hasami-inspired match with a 7×7 or 9×9 board.

Examples

import { createHasamiMatch } from "@johnmorrisdotca/gunjin/hasami";

console.log(createHasamiMatch({width:7,height:7}).phase);
setup

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/gunjin 0.2.1.