Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit d8ad386

Browse files
authored
Reset and UI changes for Pong game
-Added Reset functionality after Game Over -Made some UI changes for the Paddle
1 parent af080c9 commit d8ad386

File tree

1 file changed

+1
-2
lines changed
  • Scripts/Miscellaneous/Pong Game

1 file changed

+1
-2
lines changed

Scripts/Miscellaneous/Pong Game/game.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ def board():
213213
if event.type == pygame.KEYDOWN:
214214
if event.key == pygame.K_q:
215215
close()
216-
if event.key == pygame.K_SPACE or event.key == pygame.K_p:
217-
pause()
216+
## add pause functionality here if possible
218217
if event.key == pygame.K_r:
219218
reset()
220219
if event.key == pygame.K_w:

0 commit comments

Comments
 (0)