@ymir-js/go
v0.14.0
Published
Go for ymir-js: captures, ko and superko, pass and resign, dead stones, area and territory scoring.
Readme
@ymir-js/go
Go for ymir-js: captures, suicide, simple ko and positional superko, pass and resign, dead stones, area or territory scoring, GTP coordinates.
npm install @ymir-js/goimport { GoGame } from '@ymir-js/go';
const game = new GoGame({ size: 19 });
game.play('3|3');
game.pass();
game.pass();
game.getScore(); // { black, white, margin, winner, ... }Docs: Go · Play the demo
All of ymir-js is also available as one package: npm install ymir-js.
MIT License
