Fixing the recursive put_mine

This commit is contained in:
2020-11-08 15:50:18 -03:00
parent 1b708db977
commit fc10a32d7e

View File

@@ -31,6 +31,7 @@ class Minesweeper:
if self.is_mine(row, col):
self.put_mine()
return
self.board[row][col] = -1
return row, col