summaryrefslogtreecommitdiff
path: root/board/board.py
diff options
context:
space:
mode:
Diffstat (limited to 'board/board.py')
-rw-r--r--board/board.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/board.py b/board/board.py
index 9666bad..3491c01 100644
--- a/board/board.py
+++ b/board/board.py
@@ -73,6 +73,8 @@ class Board():
area=area.union(self.collect_area(tx, ty, area))
return area
+ def get_mask(self, x, y):
+ return self.masked[x][y]
def make_guess(self, x, y):
if self.invalid_coordinates(x, y):