Skip to content

Commit

Permalink
tweaked example
Browse files Browse the repository at this point in the history
  • Loading branch information
duckpunch committed Sep 17, 2015
1 parent 237783d commit 05b690f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ Install `godash` via [npm](https://www.npmjs.com/package/godash).
`require` and use it in your modules.

var godash = require('godash');
godash.Board(19);
var board = godash.Board(19);
var tengen = godash.position(8, 8); // 0-based
board.positions.has(tengen); // false

var standard_opening = board.addBlackMove(tengen);
standard_opening.positions.has(tengen); // true

### Browser

Expand Down

0 comments on commit 05b690f

Please sign in to comment.