Return the number of correct guesses that the given player made in the latest game.
get_player_correct_guesses (const player_object *player)
|player ||The player in question.|
- The number of correct guesses that the player made.
Definition at line 149 of file player.c.
References COMPUTER, and HUMAN.
g_return_val_if_fail (player != NULL, 0);
g_return_val_if_fail (player->name != NULL, 0);
(player->type == HUMAN || player->type == COMPUTER, 0);