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
| Name | Type | Description |
|---|---|---|
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);setupWhat it prints (run when this page was built)