Add the high_score attribute and the scoreboard text #17

Closed
opened 2026-10-13 08:13:17 +02:00 by Tirsvad · 0 comments
Owner

Scoreboard.__init__ sets self.high_score to 0 next to self.score; update_scoreboard clears the old text and writes Score: <score> High Score: <high_score>; tests with the fake turtle check the text and the clearing.

Phase: MIL-003

`Scoreboard.__init__` sets `self.high_score` to 0 next to `self.score`; `update_scoreboard` clears the old text and writes `Score: <score> High Score: <high_score>`; tests with the fake turtle check the text and the clearing. Phase: MIL-003
Tirsvad added this to the MIL-003: Continuous play and high score milestone 2026-10-13 08:13:17 +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/024-snake#17