upated comments about how tile drawing worked and

the tile funtion.  Need to update square and ranges.
This commit is contained in:
lfitchlee
2025-09-29 10:25:56 -04:00
parent 1b642f81ec
commit 7a5a3c566a
4 changed files with 19 additions and 9 deletions

View File

@@ -10,7 +10,10 @@ 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.)
The code is making it go so many spaces that you put for the with-y
and then it runs the code making it once then jumps to the next
spot and does it again. Then runs the height and then the width again
until its done.
"""
for y in range(height):
for x in range(width):