diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:56:23 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:56:23 +0200 |
commit | aa2c999702dadba2afbcf2be9f597f890aafcc87 (patch) | |
tree | 72828d9d478b2f839f78e65d143bf4363f4ed8af /voerbak | |
parent | b9e1d1537bb9b8b178d9d6cb7aca06d8cfc068a4 (diff) |
fix api/game/accept
Diffstat (limited to 'voerbak')
-rw-r--r-- | voerbak/main.py | 6 |
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]) |