optimization #5

Merged
s473555 merged 6 commits from optimization into main 2023-03-16 22:13:59 +01:00
Showing only changes of commit a5e38a707b - Show all commits

View File

@ -21,13 +21,13 @@ def initial_draw(grid_dimensions, board_size):
tile_height = grid_height / board_size
x = tile_width / 2
y = tile_height / 2
radius = 15
radius = 20
# rendering loop
while True:
grid.start_draw()
grid.board(board_size, board_size)
(x, y) = moving_cleaner(grid_width, grid_height, tile_width, tile_height, x, y)
grid.circle(x, y, 20, color=Colors.RED)
grid.circle(x, y, color=Colors.RED)
grid.end_draw()
pygame.time.delay(10)