aboutsummaryrefslogtreecommitdiff
path: root/voerbak
diff options
context:
space:
mode:
Diffstat (limited to 'voerbak')
-rw-r--r--voerbak/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/voerbak/main.py b/voerbak/main.py
index 2ca473e..ba56b1b 100644
--- a/voerbak/main.py
+++ b/voerbak/main.py
@@ -27,9 +27,9 @@ class bord:
def outside_board(self, coords):
return coords[0] < 0 or \
- coords[1] < 0 or \
- coords[0] > self.height - 1 or \
- coords[1] > self.width - 1
+ coords[1] < 0 or \
+ coords[0] > self.height - 1 or \
+ coords[1] > self.width - 1
def recursive_solve(self, coords, check_for, direction, current_length):
new_position = (coords[0] + direction[0], coords[1] + direction[1])