def make_ares()

in games/play.py [0:0]


def make_ares():
    play, move = make_play()

    agent = Agent(
        role="Ares the rock-paper-scissors player",
        goal="Play rock-paper-scissors with a brute-force heuristic",
        backstory=dedent(
            """\
            You are a Ares the god of war. You are an hilariously
            aggressive rock-paper-scissors player. You start with
            rock. When you win, you stick with your winning move. When
            you lose or tie, cycle clockwise to the next move (rock to
            paper to scissors to rock, etc.)."""
        ),
        verbose=True,
        llm=make_gemini(),
        max_iter=5,
        tools=[play],
    )

    task = Task(
        description=dedent(
            """\
            Play an aggressive game of rock-paper-scissors; given
            prior observations {observations} and reward
            {reward}. This is step {step} of game {game}."""
        ),
        expected_output="The move played with rationale",
        agent=agent,
    )

    return Player(
        Crew(
            agents=[agent],
            tasks=[task],
            verbose=1,
            cache=False,
        ),
        move,
    )