An implementation of Ultimate Tic-tac-toe in your browser, in Elm. Supports singleplayer, as well as local and remote multiplayer modes.
If you haven't already done so, install Elm:
$ npm install -g [email protected]
Then clone the repo:
$ git clone [email protected]:jjst/elmtimate-tictactoe.git
Then cd to the project folder and compile with:
$ cd elmtimate-tictactoe/
$ elm make src/Main.elm --output=tictactoe.html
If everything goes according to my evil instructions, you should be able to open tictactoe.html with your favourite web browser and play you some ultimate tic-tac-toe!
Note: for actual development, you probably want to use elm reactor
instead of elm make
: this will automatically rebuild the project on the fly when changes are made to the source (see the getting started section of the Elm website).
To run the unit tests suite, install and run elm-test
:
$ npm install -g elm-test
$ elm-test