Hangman.Text.Client.Prompter (Hangman Game v0.1.27) View Source
Prompts a player for a move.
Link to this section Summary
Link to this section Functions
Specs
accept_move(Hangman.Text.Client.State.t()) :: Hangman.Text.Client.State.t() | no_return()
Accepts a player's move.
Specs
accept_move(Hangman.Text.Client.State.t(), String.t()) :: Hangman.Text.Client.State.t() | no_return()
Displays a message
and accepts a player's move.