Reference
Luzhanqi Mini rules
import { … } from "@johnmorrisdotca/gunjin/luzhanqi-mini";
4.6 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
createLuzhanqiMiniMatch | function | Makes the fixed 7×8 streamlined land-battle training game. |
luzhanqiMiniRoster | function | Returns the ordered 14-piece setup roster for one side. |
playLuzhanqiMiniMove | function | Applies a legal move action, rejecting stale turn numbers. |
submitLuzhanqiMiniSetup | function | Submits a complete side setup and advances the hotseat setup phase. |