Esempio n. 1
0
def simonSaysFlash():
    gameMessage.configure(text="Simon Says\n'Flash'")
    disableButtons()
    radiolink.sendGameInstruction(True, radiolink.SIMON_FLASH)
    game.after(pollInterval, pollRobots)
Esempio n. 2
0
def simonSaysRainbow():
    gameMessage.configure(text="Simon Says\n'Rainbow'")
    disableButtons()
    radiolink.sendGameInstruction(True, radiolink.SIMON_RAINBOW)
    game.after(pollInterval, pollRobots)
Esempio n. 3
0
def simonSaysBlink():
    gameMessage.configure(text="Simon Says\n'Blink'")
    disableButtons()
    radiolink.sendGameInstruction(True, radiolink.SIMON_BLINK)
    game.after(pollInterval, pollRobots)
Esempio n. 4
0
def simonSaysCrossEyes():
    gameMessage.configure(text="Simon Says\n'CrossEyes'")
    disableButtons()
    radiolink.sendGameInstruction(True, radiolink.SIMON_CROSS_EYE)
    game.after(pollInterval, pollRobots)
Esempio n. 5
0
def rainbow():
    gameMessage.configure(text="Rainbow")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_RAINBOW)
    game.after(pollInterval, pollRobots)
Esempio n. 6
0
def sleep():
    gameMessage.configure(text="Sleep")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_SLEEP)
    game.after(pollInterval, pollRobots)
Esempio n. 7
0
def flash():
    gameMessage.configure(text="Flash")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_FLASH)
    game.after(pollInterval, pollRobots)
Esempio n. 8
0
def crossEyes():
    gameMessage.configure(text="Cross Eyes")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_CROSS_EYE)
    game.after(pollInterval, pollRobots)
Esempio n. 9
0
def blink():
    gameMessage.configure(text="Blink")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_BLINK)
    game.after(pollInterval, pollRobots)
Esempio n. 10
0
def backward():
    gameMessage.configure(text="Backward")
    disableButtons()
    radiolink.sendGameInstruction(False, radiolink.SIMON_BACKWARD)
    game.after(pollInterval, pollRobots)
Esempio n. 11
0
def simonSaysSleep():
    gameMessage.configure(text="Simon Says\n'Sleep'")
    disableButtons()
    radiolink.sendGameInstruction(True, radiolink.SIMON_SLEEP)
    game.after(pollInterval, pollRobots)