# `Islands.Request`
[🔗](https://github.com/RaymondLoranger/islands_request/blob/main/lib/islands/request.ex#L4)

Defines the request type for the _Game of Islands_.

##### Inspired by the book [Functional Web Development](https://pragprog.com/titles/lhelph/functional-web-development-with-elixir-otp-and-phoenix/) by Lance Halvorsen.

# `t`

```elixir
@type t() ::
  {}
  | {:add_player, Islands.Player.name(), 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()}
```

Request for the Game of Islands

---

*Consult [api-reference.md](api-reference.md) for complete listing*
