Adopt constants.py and its test #3

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

Copy src/snake_game/__init__.py, src/snake_game/constants.py and tests/test_constants.py from the base. The constants hold every value of the lectures as UPPER_SNAKE constants with Doxygen comments, the day-21 values included (food, wall, eating distance, scoreboard, touch distance, game-over text). Values that the day-21 lecture summaries fix differently are corrected in MIL-003, not here.

Phase: MIL-001

Copy `src/snake_game/__init__.py`, `src/snake_game/constants.py` and `tests/test_constants.py` from the base. The constants hold every value of the lectures as `UPPER_SNAKE` constants with Doxygen comments, the day-21 values included (food, wall, eating distance, scoreboard, touch distance, game-over text). Values that the day-21 lecture summaries fix differently are corrected in MIL-003, not here. Phase: MIL-001
Tirsvad added this to the MIL-001: Project foundation milestone 2026-10-08 11:05:02 +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/021-snake-game#3