Now use the latest libstormgames.
This commit is contained in:
Submodule libstormgames updated: 48217dd63e...155ed6ec39
@@ -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:
|
||||||
|
Reference in New Issue
Block a user