Implement the game loop #13

Closed
opened 2026-10-04 17:07:14 +02:00 by Tirsvad · 0 comments
Owner

play_game() keeps the score, starts with a random pair, compares guesses with check_answer, moves B to A after a correct guess and picks a new B that differs from A. Prints the score after each round and "Sorry, that's wrong. Final score" at the end.

Phase: MIL-003
Reference: UC-001 Play a game (to be created with the SSD before this task starts)

`play_game()` keeps the score, starts with a random pair, compares guesses with `check_answer`, moves B to A after a correct guess and picks a new B that differs from A. Prints the score after each round and "Sorry, that's wrong. Final score" at the end. Phase: MIL-003 Reference: UC-001 Play a game (to be created with the SSD before this task starts)
Tirsvad added this to the MIL-003 Console game milestone 2026-10-04 17:07:15 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100_days_of_code/014-higher_lower#13