- Clone the repo
- run
npm install - run
npm buildto transpile from ES6 (a folder named lib will be created)
cdinto the lib folder- run
node - run
.load game.jsto load the contents of this file - Then create a Game instance and run commands like so:
let game = new Game(3, 3, 3); - play move:
game.playMove(0, 1); - When done run
.exit