update litris with board detection
This commit is contained in:
@@ -73,7 +73,7 @@ class Litris(GameBase):
|
||||
if self.field.get_line_count() >= 6 and self.field.height() <= 2:
|
||||
if self.field.predict_gaps_in_next_rotation() <= 5:
|
||||
self.update_move_mode()
|
||||
self.field = self.stone_id_thread.get_current_board_state()
|
||||
self.field.state = self.stone_id_thread.get_current_board_state()
|
||||
self.field.rotate_state()
|
||||
#self.update_move_mode()
|
||||
self.field.reset_half_field()
|
||||
|
||||
Reference in New Issue
Block a user