TicTacToe.Board (tic_tac_toe v2.0.0) View Source
Functions for interacting with a board.
Link to this section Summary
Link to this section Types
Specs
player() :: :player1 | :computer
Specs
point() :: {0 | 1 | 2, 0 | 1 | 2}
Specs
position() :: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Specs
Specs
triplet() :: [nil | player()]
Specs
triplet(triple) :: [triple]
Link to this section Functions
Specs
Specs
Specs
Specs
Specs
Specs
Specs
new() :: t()
Specs
Specs
Specs
Specs
Specs
size(t()) :: non_neg_integer()