Reference
Hidden Hasami rules
import { … } from "@johnmorrisdotca/gunjin/hasami";
4.6 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
createHasamiMatch | function | Makes a Hasami-inspired match with a 7×7 or 9×9 board. |
hasamiRoster | function | Returns the ordered private setup roster for the selected square board size. |
playHasamiMove | function | Applies a legal move action to a Hasami match, rejecting stale turns. |
submitHasamiSetup | function | Submits one player's complete setup; the expected step rejects stale submissions. |