# `Islands.Response`
[🔗](https://github.com/RaymondLoranger/islands_response/blob/main/lib/islands/response.ex#L4)

Defines the response 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() ::
  {}
  | {: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}
```

Response for the Game of Islands

---

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