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 · Salpakan rules

salpakanRosterfunction

Returns the ordered 21-piece setup roster for one side.

Import it

import { salpakanRoster } from "@johnmorrisdotca/gunjin/salpakan";

Definition

function salpakanRoster(): readonly string[]

Returns

readonly string[]

Returns the ordered 21-piece setup roster for one side.

Examples

import { salpakanRoster } from "@johnmorrisdotca/gunjin/salpakan";

console.log(salpakanRoster());
[
  'five-star',          'four-star',
  'three-star',         'two-star',
  'one-star',           'colonel',
  'lieutenant-colonel', 'major',
  'captain',            'first-lieutenant',
  'second-lieutenant',  'sergeant',
  'private',            'private',
  'private',            'private',
  'private',            'private',
  'spy',                'spy',
  'flag'
]

What it prints (run when this page was built)

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