Skip to content

Commit 4132916

Browse files
authored
Merge pull request #791 from dastels/mindsweep
Add omitted sound files
2 parents 11e2920 + e6d63d7 commit 4132916

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Minesweep/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ def win():
231231
print('You won')
232232
wait_for_sound_and_cleanup(play_sound('win.wav'))
233233

234-
def loose():
234+
def lose():
235235
print('You lost')
236-
wavfile = play_sound('loose.wav')
236+
wavfile = play_sound('lose.wav')
237237
for _ in range(10):
238238
tilegrid.x = randint(-2, 2)
239239
tilegrid.y = randint(-2, 2)
@@ -249,5 +249,5 @@ def loose():
249249
win()
250250
else:
251251
reveal()
252-
loose()
252+
lose()
253253
time.sleep(5.0)

Minesweep/lose.wav

156 KB
Binary file not shown.

Minesweep/win.wav

99.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)