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.
npm install npm run build
npm install reason-tttoe --save
... "bs-dependencies": [ "reason-tttoe" ] ...
cd example npm install npm start
this is how example it looks
npm run test