Skip to content

Commit 8736522

Browse files
committed
tweaks
1 parent 4d4dffa commit 8736522

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Python Tkinter Minesweeper v0.5.1
1+
Python Tkinter Minesweeper
22
===========================
33

44
Minesweeper game written in Python using Tkinter GUI library.
@@ -17,10 +17,7 @@ Contents:
1717

1818
To Do:
1919
----------
20-
- Fix bugs
21-
- Clean up duplicate code
2220
- Have specific number of mines, rather than random
2321
- Time counter
2422
- Highscore table
25-
- Adjustable grid and mine count
26-
- ...and then some...
23+
- Adjustable grid and mine count via UI

minesweeper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def gameover(self):
210210
def victory(self):
211211
self.reveal()
212212
tkMessageBox.showinfo("Game Over", "You Win!")
213+
global root
213214
root.destroy()
214215

215216
def update_flags(self):

0 commit comments

Comments
 (0)