Commit 8c45815e authored by santiago duque's avatar santiago duque

now working with pygame keyboard

parent 0e4dba85
...@@ -8,9 +8,7 @@ import pygame ...@@ -8,9 +8,7 @@ import pygame
# import signal # import signal
# import keyboard # import keyboard
pygame.init()
# window = pygame.display.set_mode((300,300))
clock = pygame.time.Clock()
dir_path = os.getcwd() dir_path = os.getcwd()
sound_dir = os.getcwd() + "/sounds" sound_dir = os.getcwd() + "/sounds"
...@@ -64,7 +62,8 @@ def play_sound(index): ...@@ -64,7 +62,8 @@ def play_sound(index):
""" """
pygame.init()
clock = pygame.time.Clock()
setup_sounds() setup_sounds()
run = True run = True
......
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 to comment