Home

Awesome

Build Status <a href='http://www.recurse.com' title='Made with love at the Recurse Center'><img src='https://cloud.githubusercontent.com/assets/2883345/11325206/336ea5f4-9150-11e5-9e90-d86ad31993d8.png' height='20px'/></a>

Play it here!

Ultimate Tic-tac-toe

An implementation of Ultimate Tic-tac-toe in your browser, in Elm. Supports singleplayer, as well as local and remote multiplayer modes.

A Gif showing the gameplay

Install and run

If you haven't already done so, install Elm:

$ npm install -g elm@0.19.0

Then clone the repo:

$ git clone git@github.com: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).

Testing

To run the unit tests suite, install and run elm-test:

$ npm install -g elm-test
$ elm-test