diff --git a/README.md b/README.md index f59d120..148cc24 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ Complete Python Pro Bootcamp*. Steer the turtle north across a busy road of randomly generated cars. Each crossing raises the level and the car speed; one collision ends the game. Written with the Python standard library only. +![The game: a turtle among cars on level 4](docs/images/gameplay.png) + ## Requirements - Python 3.13 or newer, with `tkinter` (the `turtle` module needs it). @@ -71,6 +73,8 @@ Press the **Up** arrow key to move the turtle forward. Reaching the top edge returns the turtle to the start and speeds up the cars. A collision shows `GAME OVER`; click the window to close it. +![Game over: the turtle was hit by a car](docs/images/game-over.png) + ## Run the tests With the `.venv` active: @@ -112,6 +116,7 @@ Open `docs/api/html/index.html` in a browser. │ └── scoreboard.py Scoreboard ├── tests/ pytest tests ├── docs/ planning and review documents (business case, plan, milestones, reviews) +│ └── images/ screenshots used by the README and the wiki ├── wiki/ wiki pages in English, Danish (-da) and Bahasa Malaysia (-ms) ├── Doxyfile Doxygen configuration ├── pyproject.toml project configuration and development dependencies diff --git a/docs/images/game-over.png b/docs/images/game-over.png new file mode 100644 index 0000000..7089fc7 Binary files /dev/null and b/docs/images/game-over.png differ diff --git a/docs/images/gameplay.png b/docs/images/gameplay.png new file mode 100644 index 0000000..c9ee5b8 Binary files /dev/null and b/docs/images/gameplay.png differ diff --git a/wiki/Home-da.md b/wiki/Home-da.md index e3f8510..980fa0f 100644 --- a/wiki/Home-da.md +++ b/wiki/Home-da.md @@ -6,6 +6,8 @@ Dag 23 i Udemys *100 Days of Code: The Complete Python Pro Bootcamp*: et spil i Crossy Road-stil. Styr en skildpadde mod nord over en travl vej. Hver krydsning gør bilerne hurtigere; ét sammenstød afslutter spillet. +![Spillet: en skildpadde blandt biler på niveau 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + | Side | Læs den, når du vil | | --- | --- | | [Installation](Install-da) | Klone repositoryet, oprette `.venv` og køre spillet og testene | diff --git a/wiki/Home-ms.md b/wiki/Home-ms.md index bc8b574..de4a707 100644 --- a/wiki/Home-ms.md +++ b/wiki/Home-ms.md @@ -7,6 +7,8 @@ permainan gaya Crossy Road. Pandu seekor penyu ke utara merentasi jalan yang sibuk. Setiap kali berjaya melintas, kereta menjadi lebih laju; satu perlanggaran menamatkan permainan. +![Permainan: seekor penyu di antara kereta pada tahap 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + | Halaman | Baca apabila anda mahu | | --- | --- | | [Pemasangan](Install-ms) | Klon repositori, cipta `.venv` dan jalankan permainan serta ujian | diff --git a/wiki/Home.md b/wiki/Home.md index fcb3879..6374d28 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -6,6 +6,8 @@ Day 23 of Udemy's *100 Days of Code: The Complete Python Pro Bootcamp*: a Crossy Road style game. Steer a turtle north across a busy road. Every crossing makes the cars faster; one collision ends the game. +![The game: a turtle among cars on level 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + | Page | Read it when you want to | | --- | --- | | [Install](Install) | Clone the repository, create the `.venv` and run the game and the tests | diff --git a/wiki/Play-da.md b/wiki/Play-da.md index f3a95fc..d312432 100644 --- a/wiki/Play-da.md +++ b/wiki/Play-da.md @@ -23,4 +23,8 @@ - Hvert niveau lægger det samme hastighedstrin til, så senere niveauer kræver hurtige, korte træk. +![Spillet: en skildpadde blandt biler på niveau 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + +![Game over: skildpadden blev ramt af en bil](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/game-over.png) + Tilbage til [Forside](Home-da). diff --git a/wiki/Play-ms.md b/wiki/Play-ms.md index fe84830..23dea3a 100644 --- a/wiki/Play-ms.md +++ b/wiki/Play-ms.md @@ -23,4 +23,8 @@ - Setiap tahap menambah langkah kelajuan yang sama, jadi tahap lebih tinggi memerlukan gerakan pantas dan pendek. +![Permainan: seekor penyu di antara kereta pada tahap 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + +![Permainan tamat: penyu dilanggar kereta](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/game-over.png) + Kembali ke [Laman utama](Home-ms). diff --git a/wiki/Play.md b/wiki/Play.md index ce9f53a..6634160 100644 --- a/wiki/Play.md +++ b/wiki/Play.md @@ -22,4 +22,8 @@ - Wait for a gap: a new car is created on about one frame in six. - Every level adds the same speed step, so later levels need quick, short moves. +![The game: a turtle among cars on level 4](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/gameplay.png) + +![Game over: the turtle was hit by a car](https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing/raw/branch/main/docs/images/game-over.png) + Back to [Home](Home).