def METHOD_NAME():
    data = json.loads(request.data)
    bot_list = api.get_bots()
    game_mode = data['mode']
    # make_bot or Agent depending on choice... (unknown name => human)
    homePlayer = data['game']['home_player']
    num_human_players = 0
    if homePlayer in bot_list:
        homeAgent = make_bot(homePlayer)
    else:
        num_human_players += 1
        homeAgent = Agent(f"Player {num_human_players}", human=True)
    awayPlayer = data['game']['away_player']
    if awayPlayer in bot_list:
        awayAgent = make_bot(awayPlayer)
    else:
        num_human_players += 1
        awayAgent = Agent(f"Player {num_human_players}", human=True)
    game = api.new_game(home_team_name=data['game']['home_team_name'],
                        away_team_name=data['game']['away_team_name'],
                        home_agent=homeAgent,
                        away_agent=awayAgent,
                        game_mode=game_mode)
    return json.dumps(game.to_json())