MIL-006: Screenshot #45

Merged
Tirsvad merged 5 commits from mil-006-screenshot into main 2026-10-13 09:03:38 +02:00
Owner

Delivers MIL-006 (RC-017, code review RC-018; autonomous mode, not independent).

Closes #41
Closes #42
Closes #43
Closes #44

Changes

  • docs/images/snake-score-5.png: 602 by 632 pixel capture of the running game window (title "My Snake Game"), scoreboard Score: 5 High Score: 12.
  • README.md: the picture with alternative text and a caption, once, below the introduction.
  • wiki/Home.md, wiki/Home.da.md, wiki/Home.ms.md: the picture (address of the file on main) with a caption in English, Danish and Bahasa Melayu.
  • No Python file changed.

How the screenshot was taken

A one-off script outside the repository started the real game classes (Snake, Food, Scoreboard, the screen set-up and head shape of main) in a real window and moved the food one move in front of the head until the score was 5, so the score of 5 was reached quickly rather than by play. A temporary data.txt holding 12 gave the high score; S01's own file was not used. The window was then captured with the Windows screen capture (GDI) using the window's visible frame, so only the game window is in the picture. The script is not part of the repository.

Checks (no Python file changed)

pytest 169 passed; ruff check and format --check clean; mypy strict clean; doxygen 0 warnings; no tracked data.txt or .env.
The wiki pictures resolve only after this merge (they point to the file on main); the check of the address follows in the run summary.

Delivers MIL-006 (RC-017, code review RC-018; autonomous mode, not independent). Closes #41 Closes #42 Closes #43 Closes #44 ## Changes - `docs/images/snake-score-5.png`: 602 by 632 pixel capture of the running game window (title "My Snake Game"), scoreboard `Score: 5 High Score: 12`. - `README.md`: the picture with alternative text and a caption, once, below the introduction. - `wiki/Home.md`, `wiki/Home.da.md`, `wiki/Home.ms.md`: the picture (address of the file on `main`) with a caption in English, Danish and Bahasa Melayu. - No Python file changed. ## How the screenshot was taken A one-off script outside the repository started the real game classes (`Snake`, `Food`, `Scoreboard`, the screen set-up and head shape of `main`) in a real window and moved the food one move in front of the head until the score was 5, so the score of 5 was reached quickly rather than by play. A temporary `data.txt` holding `12` gave the high score; S01's own file was not used. The window was then captured with the Windows screen capture (GDI) using the window's visible frame, so only the game window is in the picture. The script is not part of the repository. ## Checks (no Python file changed) pytest 169 passed; ruff check and format --check clean; mypy strict clean; doxygen 0 warnings; no tracked `data.txt` or `.env`. The wiki pictures resolve only after this merge (they point to the file on `main`); the check of the address follows in the run summary.
Tirsvad added 5 commits 2026-10-13 09:01:59 +02:00
Refs #41
Task: MIL-006#1
Refs #42
Task: MIL-006#2
Refs #43
Task: MIL-006#3
Resolve pending commit links
CI / checks (push) Successful in 51s
CI / checks (pull_request) Successful in 49s
be4b6570be
Tirsvad merged commit 4f946dc2de into main 2026-10-13 09:03:38 +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#45