Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0652a60

Browse files
Update minesweeper.py
the score will update to 0 on restart
1 parent cad9e21 commit 0652a60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎MineSweeper/minesweeper.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def bomb_clicked(b,tk):
101101

102102
tk.destroy()# exiting current board
103103
if a=='yes' :
104+
total = 0
104105
board()
105106

106107
def number_clicked(b,n,tk):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /