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()
def end(): data = bottle.request.json print(json.dumps(data)) return end_response()
def end(): data = request.json print ("Game %s ended" % data["game"]["id"]) return api.end_response()
def end(): game_state = bottle.request.json return end_response()