generated from mwc/lab_iteration
upated comments about how tile drawing worked and
the tile funtion. Need to update square and ranges.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user