Skip to content

Release v1.0

Choose a tag to compare

@alwejsWTF alwejsWTF released this 23 Feb 14:07
· 1 commit to engine since this release

Added tournament run setup.

Requirements:

  • 10 agent files located in the 03_FRAKCJA_AGENTOW folder.

Modes:

  1. Tournament Mode (TOURNAMENT = True):

    • 2 teams, 5 bots per team.
    • Uses exactly 2 agent files.
    • 5 instances of AGENT_TEAM_1_FILE fill the first team, and 5 instances of AGENT_TEAM_2_FILE fill the second team.
  2. Mixed Mode (TOURNAMENT = False):

    • 2 teams, 5 bots per team (10 bots total).
    • Each bot uses a different agent file.
    • Uses CUSTOM_AGENT_LIST if exactly 10 agents are specified; otherwise, it defaults to sequentially loading agent1.py through agent10.py.

Configuration variables:

TOURNAMENT = False
AGENT_TEAM_1_FILE = "agent1.py"
AGENT_TEAM_2_FILE = "agent2.py"
CUSTOM_AGENT_LIST = [
    "agent1.py", "agent2.py", "agent3.py", "agent4.py", "agent5.py",
    "agent6.py", "agent7.py", "agent8.py", "agent9.py", "agent10.py"
]

File to run tournament:
engine_v1_tournament_edition.py