Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.56 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.56 KB

Build Status

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