Islands Request v0.1.5 Islands.Request View Source
Defines the request
type for the Game of Islands.
Inspired by the book Functional Web Development by Lance Halvorsen.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: {} | {:add_player, String.t(), Islands.Player.gender(), pid()} | {:position_island, Islands.PlayerID.t(), Islands.Island.type(), Islands.Coord.row(), Islands.Coord.col()} | {:position_all_islands, Islands.PlayerID.t()} | {:set_islands, Islands.PlayerID.t()} | {:guess_coord, Islands.PlayerID.t(), Islands.Coord.row(), Islands.Coord.col()} | {:stop, Islands.PlayerID.t()} | {:tally, Islands.PlayerID.t()}