From ab0def9115df29f5b390a271e3a534c62b5057b4 Mon Sep 17 00:00:00 2001 From: Thaloria Date: Sun, 30 Jul 2023 10:57:43 +0200 Subject: [PATCH] update litris with board detection --- litris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litris.py b/litris.py index 01d2620..3c0cc7f 100644 --- a/litris.py +++ b/litris.py @@ -82,7 +82,7 @@ class Litris(GameBase): print(self.field) if self.field.get_line_count() >= 6 and self.field.height() <= 2 and self.field.check_crucial_pos_to_be_free(): if self.field.predict_gaps_in_next_rotation() <= 3: - self.field_state_storage[self.move_mode] = self.field + self.field_state_storage[self.move_mode] = copy(self.field) self.update_move_mode() #self.field.state = self.stone_id_thread.get_current_board_state() self.field.rotate_state()