tictactoe-sim
v0.0.1
Published
game engine for tictactoe / naught and crosses
Downloads
1
Maintainers
Readme
tictactoe
I wanted to expore all the possible moves of a game and store them in a graph database for move recomendations. This module should serve as a rudimentary game environment to play against or simulate 2 computer players. It doesn't have any smart algorithms, it just uses random/brute force guesses.
get started
var tic = require('tictactoe')
var toe = new tic
toe.viewBoard()
toe.playGame()
toe.viewBoard()
running tests
install mocha
npm install mocha -g
npm install
npm test
build from source
Source is written in ES6/ES2015. If you make any changes run npm run compile
before running tests.
You'll also need Babel