update litris with board detection

This commit is contained in:
2023-07-29 21:20:50 +02:00
parent d3ace50341
commit 332190394d
2 changed files with 1 additions and 3 deletions

View File

@@ -153,8 +153,6 @@ class Field():
def predict_gaps_in_next_rotation(self):
tmp_state = copy(self.state)
if tmp_state[10][0] is not ' ' and tmp_state[10][1] is not ' ':
return 10
tmp_state = self.rotate_90_degree_anticlckwise(tmp_state)
for row in range(int(self.HEIGHT/2)):
tmp_state[row] = [' ' for cols in range(Field.WIDTH)]