added async stone detection thread

This commit is contained in:
2023-07-26 09:54:49 +02:00
parent 7b63568fa5
commit 1b9711a851

View File

@@ -90,7 +90,7 @@ class Litris(GameBase):
self.drop_down()
print(self.field)
if self.field.get_line_count() >= 6 and self.field.height() <= 2:
if self.field.predict_gaps_in_next_rotation() <= 6:
if self.field.predict_gaps_in_next_rotation() <= 5:
self.update_move_mode()
self.field.rotate_state()
#self.update_move_mode()