MIL-002: Adopt the game #36

Merged
Tirsvad merged 8 commits from mil-002-adopt-the-game into main 2026-10-13 08:31:09 +02:00
Owner

Delivers MIL-002 (RC-005, code review RC-010; autonomous mode, not independent).

Closes #9
Closes #10
Closes #11
Closes #12
Closes #13
Closes #14
Closes #15

Differences from the base (021-snake-game)

None. snake.py, food.py, scoreboard.py, main.py, __main__.py, fakes.py and the four test modules are byte-identical to the base (diff -q reports nothing). Only README.md is new text: the Run section and the project layout of this repository.

Checks run locally (fresh .venv)

  • pytest: 138 passed, no window opened
  • ruff check and ruff format --check: clean
  • mypy strict: no issues in 13 files
  • doxygen Doxyfile: 0 warnings
  • python -m snake_game: smoke run, the process is still running after 4 seconds (window open); it was then stopped
  • Importing snake_game.main loads neither turtle nor tkinter (tested in tests/test_main.py)

Playing the game by hand to the wall and the tail is S01's check of Go/No-Go criterion 5; the behaviour is covered by the tests of the base.

Delivers MIL-002 (RC-005, code review RC-010; autonomous mode, not independent). Closes #9 Closes #10 Closes #11 Closes #12 Closes #13 Closes #14 Closes #15 ## Differences from the base (021-snake-game) None. `snake.py`, `food.py`, `scoreboard.py`, `main.py`, `__main__.py`, `fakes.py` and the four test modules are byte-identical to the base (`diff -q` reports nothing). Only `README.md` is new text: the Run section and the project layout of this repository. ## Checks run locally (fresh .venv) - pytest: 138 passed, no window opened - ruff check and ruff format --check: clean - mypy strict: no issues in 13 files - doxygen Doxyfile: 0 warnings - `python -m snake_game`: smoke run, the process is still running after 4 seconds (window open); it was then stopped - Importing `snake_game.main` loads neither `turtle` nor `tkinter` (tested in `tests/test_main.py`) Playing the game by hand to the wall and the tail is S01's check of Go/No-Go criterion 5; the behaviour is covered by the tests of the base.
Tirsvad added 8 commits 2026-10-13 08:21:27 +02:00
Tirsvad merged commit 8259bd3359 into main 2026-10-13 08:31:09 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/024-snake#36