cardgames.games.poker_game.check_value
- cardgames.games.poker_game.check_value(message, val_min=0, val_max=None)
Prompts the user for input until the input value is within a specified range.
- Parameters
message (str) – Message which is printed to describe the requested value from the user.
val_min (int) – minimum value
val_max (int) – maximum value
- Returns
returns integer within range of val_min and val_max
- Return type
int