update litris with board detection

This commit is contained in:
2023-07-29 21:32:53 +02:00
parent c3e677ca0a
commit 7c6af4411b

View File

@@ -152,7 +152,7 @@ class Field():
def check_crucial_pos_to_be_free(self):
if self.field.state[19][9] == ' ' and self.field.state[19][10] == ' ' and self.field.state[18][9] == ' ' and self.field.state[18][10] == ' ':
if self.state[19][9] == ' ' and self.state[19][10] == ' ' and self.state[18][9] == ' ' and self.state[18][10] == ' ':
return True
return False