View Source Islands.Client.GameOver (Islands Client Game Over v0.1.24)
Reacts to a "game over" state in the Game of Islands.
Inspired by the course Elixir for Programmers by Dave Thomas.
Link to this section Summary
Link to this section Functions
Specs
end_game(Islands.Client.State.t()) :: no_return()
Reacts to a "game over" state.
Specs
end_game(IO.ANSI.Plus.ansilist(), Islands.Client.State.t()) :: no_return()
Prints a message and ends the game.