Islands.Board.Response (Islands Board v0.1.18) View Source
Link to this section Summary
Link to this section Types
Specs
guess_check() :: {:hit, Islands.Island.t()} | {:miss, Islands.Coord.t()}
Specs
t() :: {:hit | :miss, Islands.Island.type() | :none, :no_win | :win, Islands.Board.t()}
Link to this section Functions
Specs
check_guess(Islands.Board.t(), Islands.Coord.t()) :: guess_check()
Specs
format_response(guess_check(), Islands.Board.t()) :: t()