Islands Board v0.1.10 Islands.Board.Response View Source

Link to this section Summary

Link to this section Types

Link to this type

guess_check()

View Source
guess_check() :: {:hit, Islands.Island.t()} | {:miss, Islands.Coord.t()}
Link to this type

t()

View Source
t() ::
  {:hit | :miss, Islands.Island.type() | :none, :no_win | :win,
   Islands.Board.t()}

Link to this section Functions

Link to this function

format_response(guess_check, board)

View Source
format_response(guess_check(), Islands.Board.t()) :: t()