venil7 / ReasonML-TicTacToe

unbeatable tictactoe engine implemented in ReasonML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

unbeatable tictactoe engine implemented in ReasonML


Languages

Language:OCaml 65.8%Language:JavaScript 19.1%Language:HTML 7.6%Language:CSS 7.5%