Now use the latest libstormgames.
This commit is contained in:
parent
885ed82601
commit
c928ec0a26
@ -1 +1 @@
|
|||||||
Subproject commit 48217dd63efea44513a55d4e267601c608c5ca8e
|
Subproject commit 155ed6ec390f5e6109b3358683e8f5d1ed367db0
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from libstormgames.libstormgames import *
|
from libstormgames import *
|
||||||
|
|
||||||
# Initial variable settings
|
# Initial variable settings
|
||||||
mode = "menu"
|
mode = "menu"
|
||||||
@ -14,6 +14,7 @@ def game(mode):
|
|||||||
tries = 0
|
tries = 0
|
||||||
numberList = list("123456789")
|
numberList = list("123456789")
|
||||||
random.shuffle(numberList)
|
random.shuffle(numberList)
|
||||||
|
speak(' '.join(numberList))
|
||||||
while ''.join(numberList) != "123456789":
|
while ''.join(numberList) != "123456789":
|
||||||
event = pygame.event.wait()
|
event = pygame.event.wait()
|
||||||
if event.type == pygame.KEYDOWN:
|
if event.type == pygame.KEYDOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user