Releases: cjlarose/weiqi.js
Releases · cjlarose/weiqi.js
v0.1.0
- removed Board.getStones
- faster history checking in Game
Migration to Immutable.js
ES6
Added ES6 support via the 6to5 transpiler. Taking advantage of some tail-call optimization and arrows.
0.0.6
Weiqi.createBoard
requires a size parameter
- Add
Board.getStones(color)
method that returns an array containing the coordinates of stones of a given color.
0.0.5
Module flattening. Weiqi.Game.createGame
becomes Weiqi.createGame
. Weiqi.Board.createBoard
becomes Weiqi.createBoard
.
0.0.4
Add Game.areaScore(komi)
and Board.areaScore()
methods.
0.0.3
- Creating a game is done with
Weiqi.Game.createGame
instead of new Weiqi.Game()
, likewise for Board.
- Game methods now return new Game objects.
0.0.2
- Remove
lodash
dependency in favor of using methods from mori
.
Board.toString
has been removed, and Board.toArray
is added.