tictactoe-sim

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i tictactoe-sim

Weekly Downloads

2

Version

0.0.1

License

ISC

Last publish

Collaborators

  • jaymc