summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index e3c6dd4..bf2a159 100644
--- a/app.py
+++ b/app.py
@@ -14,7 +14,7 @@ while True:
t.draw_matrix(b.get_view(),-1,-1)
print("LOPETUS!")
break
- if not b.make_guess(x, y):
+ if b.get_mask(x,y) and not b.make_guess(x, y):
t.draw_matrix(b.get_view(),-1,-1)
print("KUOLEMA!")
break