Skip to content

Commit fe0dcde

Browse files
Merge pull request #2472 from avinashkranjan/deepsource-transform-9f27954d
format code with autopep8
2 parents 7df3b10 + 5345379 commit fe0dcde

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Ink_art_puzzle_adv/ink-art-puzzle-adv.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
player_speed = 5
1919

2020
# Main game loop
21+
22+
2123
def game_loop():
2224
running = True
2325
while running:
@@ -38,14 +40,16 @@ def game_loop():
3840

3941
# Draw the player and background
4042
screen.fill(WHITE)
41-
pygame.draw.rect(screen, BLACK, (player_x, player_y, 50, 50)) # Player rectangle
43+
# Player rectangle
44+
pygame.draw.rect(screen, BLACK, (player_x, player_y, 50, 50))
4245

4346
# Draw ink art illustrations (replace this with your own images)
4447
# Example: ink_art_image = pygame.image.load("ink_art_image.png")
4548
# screen.blit(ink_art_image, (x, y))
4649

4750
pygame.display.update()
4851

52+
4953
# Start the game loop
5054
game_loop()
5155

0 commit comments

Comments
 (0)