Sample Tic Tac Toe single page app
-
Check global dependencies:
$ node --version v8.11.3 $ npm --version 5.6.0 $ bower --version 1.8.2 $ gulp --version CLI version: 2.2.0
-
Install it:
$ npm install
-
Test it:
$ npm test
-
Launch it:
$ npm run start
- Reset game:
window.TTT_RESET();
- Make a player move:
Every cell is identified by an integer between 0 and 8 (included)
window.TTT_MOVEMENT(0);