Islands.Response (Islands Response v0.1.9) View Source
Defines the response
type for the Game of Islands.
Based on the book Functional Web Development by Lance Halvorsen.
Link to this section Summary
Link to this section Types
Specs
t() :: {} | {:ok, :player2_added} | {:error, any()} | {:hit | :miss, Islands.Island.type() | :none, :no_win | :win} | {:ok, :all_islands_positioned} | {:ok, :island_positioned} | {:ok, :islands_set} | {:ok, :stopping}