Packages

Elixir, MapSet-based, variable board size, Tic-tac-toe implementation (WIP).

Current section

Files

Jump to
ex_tic_tac_toe lib ex_tic_tac_toe.ex
Raw

lib/ex_tic_tac_toe.ex

defmodule ExTicTacToe do
alias ExTicTacToe.Engine
defdelegate init(x_max, y_max), to: Engine
defdelegate phase(state), to: Engine
defdelegate mark(state, x_or_o, x_and_y), to: Engine
defdelegate progress_game(state, updated_state), to: Engine
end