Data structures and utilities to represent the game of Go.
This library depends on Immutable.js and lodash.
Getting Started
Install @diotoborg/ipsam-atque-eos
via npm.
npm install @diotoborg/ipsam-atque-eos
require
and use it in your modules.
var @diotoborg/ipsam-atque-eos = require('@diotoborg/ipsam-atque-eos');
var board = @diotoborg/ipsam-atque-eos.Board(19);
var tengen = @diotoborg/ipsam-atque-eos.Coordinate(9, 9);
board.moves.has(tengen);
var standardOpening = placeStone(
board,
tengen,
@diotoborg/ipsam-atque-eos.BLACK
);
standardOpening.moves.has(tengen);
Why Godash?
Godash provides the "primitives" for Go necessary for creating UIs that go
beyond a simple SGF player. You can create whatever UI you want without having
to reinvent the wheel every time.
Check out the documentation to see what Godash provides.
Breaking changes from version 1 to 2
Related Projects