ElixirTtt

TicTacToe with human and AI player.

Requirements

You should install Erlang and Elixir first, if you are in mac I recomend using homebrew.

Installation

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

Running the project

On console just run the executable

$ ./elixir_ttt

Running Tests

On console run this command

$ mix test

Generating new executable

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.