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 f50bde4

Browse files
Update minesweeper.py
1 parent 8d8af3d commit f50bde4

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
@@ -119,6 +119,7 @@ def number_clicked(b,n,tk):
119119
a=mb.askquestion("YOU WON"," Your score : " +str(total) +"\nDo you want to play again??")
120120
tk.destroy()# exiting current board
121121
if a=='yes' :
122+
total=0
122123
board()
123124
# showinfo("YOU WON", "YOUR SCORE : " + str(total))
124125
tk.destroy()

0 commit comments

Comments
(0)

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