Skip to content

Commit

Permalink
feat: remove unused variables and commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Apr 9, 2024
1 parent 3772a2f commit 98f52a0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/game/TetrisGameManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
from src.game.board import Action, Board

baseScore = 100
DOWN = (0, 1)
LEFT = (-1, 0)
RIGHT = (1, 0)

""" TODO: Timer for piece drop
keyboard input for piece movement
Expand Down Expand Up @@ -38,10 +35,6 @@ def __init__(self, board: Board):
Key.up: Action.ROTATE_CLOCKWISE,
}

# while True:
# with Listener(on_press=self.on_press, on_release=self.on_release) as listener:
# listener.join()

def onPress(self, key):
# Default action if key not found
default_action = lambda: "Key not recognized"
Expand Down

0 comments on commit 98f52a0

Please sign in to comment.