From 7c6af4411bfc0240790bb6aed6ce6773b68a73e8 Mon Sep 17 00:00:00 2001 From: Thaloria Date: Sat, 29 Jul 2023 21:32:53 +0200 Subject: [PATCH] update litris with board detection --- field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/field.py b/field.py index 374fda5..f3713a0 100644 --- a/field.py +++ b/field.py @@ -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