예제 #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()
예제 #2
0
def end():
    data = bottle.request.json
    print(json.dumps(data))

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