View Source Hangman.Text.Client.Player (Hangman Game v0.1.74)
Plays a game until it is won, lost or stopped.
Summary
Functions
Displays a message
and ends the game normally.
Plays a game until it is won, lost or stopped.
Functions
@spec end_game(Hangman.Text.Client.State.t(), IO.ANSI.Plus.ansilist()) :: 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.