Play on after a collision in the main flow #20

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

In main.py, a hit of the wall or of the tail calls scoreboard.reset() and snake.reset() and the loop goes on; the end-of-game check, the game-over text and exitonclick are removed; closing the window still ends quietly. Update tests/test_main.py.

Phase: MIL-003

In `main.py`, a hit of the wall or of the tail calls `scoreboard.reset()` and `snake.reset()` and the loop goes on; the end-of-game check, the game-over text and `exitonclick` are removed; closing the window still ends quietly. Update `tests/test_main.py`. Phase: MIL-003
Tirsvad added this to the MIL-003: Continuous play and high score milestone 2026-10-13 08:13:22 +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#20