From 98f52a028dada22f58ddb21e5676c0c21e04758d Mon Sep 17 00:00:00 2001 From: Sverre Nystad <89105607+SverreNystad@users.noreply.github.com> Date: Wed, 10 Apr 2024 00:32:15 +0200 Subject: [PATCH] feat: remove unused variables and commented code --- src/game/TetrisGameManager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/game/TetrisGameManager.py b/src/game/TetrisGameManager.py index 7aaf646..7bdb59b 100644 --- a/src/game/TetrisGameManager.py +++ b/src/game/TetrisGameManager.py @@ -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 @@ -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"