Beispiel #1
0
def end():
    data = bottle.request.json
    """
    TODO: If your snake AI was stateful,
        clean up any stateful objects here.
    """
    print(json.dumps(data))

    return end_response()
Beispiel #2
0
def end():
    data = bottle.request.json
    print(json.dumps(data))

    return end_response()
Beispiel #3
0
def end():
    data = request.json
    print ("Game %s ended" % data["game"]["id"])
    return api.end_response()
Beispiel #4
0
def end():
    game_state = bottle.request.json
    return end_response()