unbeatable tictactoe engine implemented in ReasonML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
__tests__
example
src
.gitignore
.travis.yml
README.md
bsconfig.json
package-lock.json
package.json
tasks.json
yarn.lock

README.md

reason-tttoe

reason-tttoe is a Tic-Tac-Toe engine. This library can be used for game development in the browser, node.js, mobile or native. Its code is mostly a port of my Haskell code.

See Example of how it can be used on the web.

Build

Build Status

npm install
npm run build

Install

npm install reason-tttoe --save

Update bsconfig.json

...
"bs-dependencies": [
    "reason-tttoe"
]
...

Run Example

cd example
npm install
npm start

this is how example it looks

example gameplay

Run Tests

npm run test