From 4ecc0f5f61998cee7acf9b3c3e47b38ec1b9be2f Mon Sep 17 00:00:00 2001 From: Jason Ho <50993239+Jason11ookJJ@users.noreply.github.com> Date: Tue, 3 Aug 2021 15:44:55 +0800 Subject: [PATCH] remove debug code --- .vscode/tasks.json | 2 +- src/maze_gitb/scene.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6c45b4f..1720635 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "build", "type": "shell", - "command": "python3 setup.py install --user" + "command": "pip install ." } ] } diff --git a/src/maze_gitb/scene.py b/src/maze_gitb/scene.py index c1e0a21..e3b9ff2 100644 --- a/src/maze_gitb/scene.py +++ b/src/maze_gitb/scene.py @@ -287,7 +287,7 @@ def __init__(self, random_pos: bool) -> None: if type(self).instance is None: self.maze = Maze.generate(term.width // 5, term.height // 3, random_pos=random_pos) random = random_pos - self.maze = Maze.generate(7, 7, random_pos=random_pos) + # self.maze = Maze.generate(7, 7, random_pos=random_pos) self.generate_boxes() self.level_boundary = Boundary( len(self.maze.char_matrix[0]),