CHECKPOINT 3 - tile

Coucou! Ok so making the tile was fun and took me some "productive struggling" to get there. But I made something nice! I think as feedback for next year I would add options or examples of other tiles (without explanation) so students can get a little inspired. The squiggle was a little bit intimidating ngl. Okay and concerning docstrings: love them. It makes reading code way more clear! What is the intention of the def or function etc.
This commit is contained in:
sigrid
2025-09-12 17:30:44 +08:00
parent 2a738638ed
commit f15d903306
2 changed files with 54 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ from tile import fly
def draw_tile_grid(width, height, tile_size, tile_function):
"""Draws a (width x height) grid, with tile_function drawn on each tile.
(Your explanation here.)
I actually don't get it... explain it to me, pls! Cause how does it link to the tile file?? Confusing...
"""
for y in range(height):
for x in range(width):