An implementation of ultimate tictactoe in Elm
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
LICENSE.md
README.md
deploy.sh
elm-package.json
index.html
style.css

README.md

Build Status

Play it online here!

Elmtimate Tic-tac-toe

An implementation of Ultimate Tic-tac-toe in your browser, in Elm.

board

Install and run

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

$ npm install -g elm@0.18.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

Woohoo! If everything goes according to my evil instructions, you should be able to open tictactoe.html 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