diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-12-29 18:35:42 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-12-29 18:35:42 +0100 |
commit | 064f7d3ea50c3dab2262b414dfc80a5c0f6bef32 (patch) | |
tree | 26912b2509e1227dd3871e474a597d4a4d5f97c3 | |
parent | 03ba7d2bd823172d224ccbb6e88c0234fa7d62ab (diff) |
Take the starting level into consideration
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-x | cameltris.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |