Ejemplo n.º 1
0
def example2():
    number = Number('''You found the secret number in %d tries.
Now use the 'back' button to cheat : you CAN'T''')

    # The object is made stateless
    number = state.stateless(number)

    return number
Ejemplo n.º 2
0
 def __init__(self):
     self.message = var.Var("")
     state.stateless(self.message)
     self.un = var.Var()
     self.pwd = var.Var()
Ejemplo n.º 3
0
 def __init__(self, player, gs):
     self.o = player
     self.wordbag = state.stateless(Wordbag(gs))
Ejemplo n.º 4
0
 def __init__(self):
     start_osw()
     self.loginManager = component.Component(QuestLogin())
     self.loginManager.on_answer(self.startGame)
     self.model = state.stateless(var.Var("login"))
Ejemplo n.º 5
0
 def __init__(self):
     self.message = var.Var("")
     state.stateless(self.message)
     self.un = var.Var()
     self.pwd = var.Var()