Skip to the content

Narabe並べ

Play forty-eight abstract board games through immutable moves, legal choices and replayable records.

Narabe means arranging in Japanese, as in gomoku-narabe: five in a row. About the name

Contents

Narabe documentation

Narabe 並べ — Board game rules engine: gomoku, Reversi, Go, checkers

Play forty-eight abstract board games through immutable moves, legal choices and replayable records.

Install

npm install @johnmorrisdotca/narabe

Start here

Entry points

Import itWhat it isSize
@johnmorrisdotca/narabe/react
React hook · 2 exports
useNarabe, a React hook over the engine: one game's state and the moves a board can make on it.27.1 kB
@johnmorrisdotca/narabe/draw
SVG boards · 2 exports
10.7 kB
@johnmorrisdotca/narabe/element
Board element · 6 exports
22.5 kB
@johnmorrisdotca/narabe/element/define
Register the board · 6 exports
22.5 kB
@johnmorrisdotca/narabe/rules/go
Go rules · 8 exports
5.8 kB
@johnmorrisdotca/narabe
Rules and records · 228 exports
Narabe 並べ: one rules engine for forty-eight abstract board games.20.8 kB

Guides

How-to

Explanation

Troubleshooting & FAQ

Upgrading