Adopt the Food class and its tests #10

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

Copy src/snake_game/food.py and tests/test_food.py from the base: class Food(Turtle), whose __init__ calls super().__init__() and refresh, and whose random place comes from one function that the tests replace. The values are checked against the lectures in MIL-003.

Phase: MIL-002

Copy `src/snake_game/food.py` and `tests/test_food.py` from the base: `class Food(Turtle)`, whose `__init__` calls `super().__init__()` and `refresh`, and whose random place comes from one function that the tests replace. The values are checked against the lectures in MIL-003. Phase: MIL-002
Tirsvad added this to the MIL-002: Adopt the game milestone 2026-10-08 11:05:16 +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#10