Islands Engine v0.1.69 Islands.Engine.Board.Response View Source
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: {:hit | :miss, Islands.Engine.Island.type() | :none, :no_win | :win, Islands.Engine.Board.t()}
Link to this section Functions
Link to this function
check_guess(guess, board)
View Source
check_guess(Islands.Engine.Coord.t(), Islands.Engine.Board.t()) :: {:hit, Islands.Engine.Island.t()} | {:miss, Islands.Engine.Coord.t()}
Link to this function
format_response(arg, board)
View Source
format_response( {:hit, Islands.Engine.Island.t()} | {:miss, Islands.Engine.Coord.t()}, Islands.Engine.Board.t() ) :: t()