tmscli 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tmscli-0.3.1 → tmscli-0.3.2}/PKG-INFO +1 -1
- {tmscli-0.3.1 → tmscli-0.3.2}/pyproject.toml +1 -1
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/main.py +3 -1
- {tmscli-0.3.1 → tmscli-0.3.2}/update.sh +3 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/README.md +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/.gitkeep +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/__init__.py +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/about.html +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/index.html +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/install.html +0 -0
- {tmscli-0.3.1 → tmscli-0.3.2}/src/tmscli/style.css +0 -0
|
@@ -81,9 +81,11 @@ class minesweeper():
|
|
|
81
81
|
if self.check_death(board):
|
|
82
82
|
print('GAME OVER')
|
|
83
83
|
self.print_ending(board)
|
|
84
|
+
exit()
|
|
84
85
|
elif self.check_success(board):
|
|
85
86
|
print('YOU WIN')
|
|
86
87
|
self.print_ending(board)
|
|
88
|
+
exit()
|
|
87
89
|
def richochet(self,board,coord):
|
|
88
90
|
x,y=coord
|
|
89
91
|
board[x][y][3]=True
|
|
@@ -184,4 +186,4 @@ uncover every square without a mine on it.
|
|
|
184
186
|
|
|
185
187
|
If you step on a mine you lose, the number on the square is how many mines are around it (3 x 3 radius)
|
|
186
188
|
''')
|
|
187
|
-
|
|
189
|
+
run()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|