Commit ded09284 by BellCodeEditor

save project

parent 05d023dd
Showing with 5 additions and 0 deletions
...@@ -126,6 +126,11 @@ while True: ...@@ -126,6 +126,11 @@ while True:
pygame.draw.rect(screen, (255, 255, 255), pygame.draw.rect(screen, (255, 255, 255),
(cube[1] * 20-20, cube[0] * 20-20, 20, 20), 1) (cube[1] * 20-20, cube[0] * 20-20, 20, 20), 1)
for cube in current_pos:
pygame.draw.rect(screen, color,
(j * 20-20, i * 20-20, 20, 20))
pygame.draw.rect(screen, (255, 255, 255),
(j * i 20-20, i * j 20-20, 20, 20), 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment