Islands.Client.GameOver (Islands Client Game Over v0.1.41)

View Source

Reacts to a "game over" state in the Game of Islands.

Inspired by the course Elixir for Programmers by Dave Thomas.

Summary

Functions

Prints a game summary, a message and exits the game.

Functions

exit(state, option \\ [end_game: true])

@spec exit(
  Islands.Client.State.t(),
  keyword()
) :: no_return()

Prints a game summary, a message and exits the game.