Пример #1
0
def lobby():
    lobby = Lobby()
    ans = ''
    machines_list = lobby.getMachines()
    for machine_id, machine in machines_list.iteritems():
        ans += "<h1>" + str(machine.getBallsResult()) + "</h1>\n"
    return ans
Пример #2
0
def bonusResult(machine_id):
    lobby = Lobby()
    machines_list = lobby.getMachines()
    return str(machines_list[machine_id].getBonusResult())
Пример #3
0
def spinResult(machine_id):
    lobby = Lobby()
    machines_list = lobby.getMachines()
    return str(machines_list[machine_id].getSpinResult())