A command line game of Tic Tac Toe
To start the game, clone the repo, cd into it and begin an iex shell:
> iex -S mix
Then run TicTacToe.run()
and follow the game instructions
An executable can also be built by running
> mix escript.build
And then run the game with
> ./tic_tac_toe
To run the tests with coverage report
> MIX_ENV=test mix coveralls
You can also see a line by line html version to be viewed in a web browser using
> MIX_ENV=test mix coveralls.html
This will create excoveralls.html
in /cover