diff --git a/dungeonbattle/game.py b/dungeonbattle/game.py index a82c2b0..9efd63f 100644 --- a/dungeonbattle/game.py +++ b/dungeonbattle/game.py @@ -19,10 +19,10 @@ class Game: player.y = 1 player.x = 6 d = MapDisplay(m, player) - screen.refresh() while True: - d.display(player.getPosY(), player.getPosX()) + screen.clear() screen.refresh() + d.display(player.getPosY(), player.getPosX()) key = screen.getkey() self.handle_key_pressed(key)