TicTacToe with human and AI player.
You should install Erlang and Elixir first, if you are in mac I recomend using homebrew.
If available in Hex, the package can be installed
by adding elixir_ttt
to your list of dependencies in mix.exs
:
def deps do
[
{:elixir_ttt, "~> 0.1.0"}
]
end
On console just run the executable
$ ./elixir_ttt
On console run this command
$ mix test
Run these commands in order
$ mix clean
$ mix escript.build
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_ttt.