Skip to content

unbeatable tictactoe engine implemented in ReasonML

Notifications You must be signed in to change notification settings

venil7/ReasonML-TicTacToe

Repository files navigation

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"
]
...
cd example
npm install
npm start

this is how example it looks

example gameplay

Run Tests

npm run test