View Source Hangman.Text.Client.Player (Hangman Game v0.1.62)
Plays a game until it is won, lost or stopped.
Link to this section Summary
Functions
Displays a message
and ends the game normally.
Plays a game until it is won, lost or stopped.
Link to this section Functions
@spec end_game(Hangman.Text.Client.State.t(), IO.ANSI.Plus.ansidata()) :: no_return()
Displays a message
and ends the game normally.
@spec play(Hangman.Text.Client.State.t()) :: no_return()
Plays a game until it is won, lost or stopped.