Reset the player for another game.
Clear the score, and perform any other tasks that are needed to make the player ready for the start of a game.
|player ||The player to be reset.|
Definition at line 83 of file player.c.
References COMPUTER, and HUMAN.
g_return_if_fail (player != NULL);
g_return_if_fail (player->name != NULL);
g_return_if_fail (player->type == HUMAN || player->type == COMPUTER);
player->score = 0;
player->guesses = 0;
player->correct = 0;
player->bonus = 0;