Reference
Salpakan rules
import { … } from "@johnmorrisdotca/gunjin/salpakan";
4.6 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
createSalpakanMatch | function | Makes the fixed classic 9×8 Salpakan match. |
playSalpakanMove | function | Applies a legal move action, rejecting stale turn numbers. |
salpakanRoster | function | Returns the ordered 21-piece setup roster for one side. |
submitSalpakanSetup | function | Submits a complete side setup and advances the hotseat setup phase. |