Hangman.Impl.Game (hangmanJohnson v0.1.0)
Link to this section Summary
Link to this section Types
Specs
t() :: %Hangman.Impl.Game{
game_state: Hangman.Type.state(),
letters: [String.t()],
turns_left: Integer,
used: MapSet.t(String.t())
}
Link to this section Functions
Link to this function
make_move(game, guess)
Specs
make_move(t(), String.t()) :: {t(), Hangman.Type.tally()}
Link to this function
new_game()
Specs
new_game() :: t()
Link to this function
new_game(word)
Specs
Link to this function