dots-and-boxes
Play the Dots And Boxes game against computer. Play in console or use api for own user interface.
Console Game
npm start
or german version
npm start l=de
API
Example
const Game = ;var game = size: x:3y:3 level: 2; console;
{ player: 1,
line: 0,
value: 1,
complete: false,
otherTurn: [ { player: 2, line: 12, value: 1, complete: false } ] }
console;
console;
[ 9, 0, 0 ]