Skip to content

andrewMacmurray/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Build Status Coverage Status

A command line game of Tic Tac Toe

Playing the game

In iex

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

As an executable

An executable can also be built by running

> mix escript.build

And then run the game with

> ./tic_tac_toe

Running the tests

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

About

Command line version of Tic Tac Toe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages