From 064f7d3ea50c3dab2262b414dfc80a5c0f6bef32 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 29 Dec 2020 18:35:42 +0100 Subject: Take the starting level into consideration Signed-off-by: Olivier Gayot --- cameltris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cameltris.py b/cameltris.py index 25f1a87..68b4c9a 100755 --- a/cameltris.py +++ b/cameltris.py @@ -165,7 +165,7 @@ class Player: self.current_piece, self.current_piece_position = self.generate_piece() self.next_piece, self.next_piece_position = self.generate_piece() - self.starting_level = self.level = 1 + self.level = self.starting_level = ARGS["starting_level"] self.score = 0 self.lines_burnt = 0 -- cgit v1.2.3