diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/board.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/board.py b/board/board.py index 22885c7..82e6835 100644 --- a/board/board.py +++ b/board/board.py @@ -163,3 +163,7 @@ class Board(): self.masked[nx][ny] = 0 return True + + def reveal(self): + """ näytä koko lauta """ + self.masked = [[0 for _ in range(self.size)] for _ in range(self.size)] |