diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-12 09:21:04 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-12 09:21:04 +0200 |
commit | b6c689abc6d5860671c45460a99b487eb6872e22 (patch) | |
tree | c834adbbdef5500bd39e3ee123acba3049317f34 /app.py | |
parent | f3a475d4744c4c2b631c24f4875b5c845baa1f93 (diff) |
Making checks that area about to be uncovered is not uncovered already.
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |