Arom1a/poker-engine-2026

Variant TBD.

★ 0Forks 0GitHub ↗Compare

README

PokerBotEngine2026

How to run the engine

  1. Create a virtual environment:

    python3.12 -m venv .venv
  2. Activate the virtual environment:

    • On Windows:

      .venv\Scripts\activate
    • On macOS and Linux:

      source .venv/bin/activate
  3. Install the required packages:

    pip install -r requirements.txt

Running Tests

  1. Basic coverage test:
pytest --cov=gym_env --cov-report=term-missing --cov-report=html --cov-branch

Testing Your Submission

  1. To test your agent (5 hands per bot) against ProbabilityAgent, AllInAgent, FoldAgent, CallingStationAgent, RandomAgent:
python agent_test.py
  1. To run a full match (1000 hands) of your agent against a specific agent:
python run.py

You can modify which bots play by modifying the agent config file. Write the file path to the corresponding agent for that bot to play.

Contributors

oliveryun11dylan-almonteNeilP06ebrownhijktakeshi

Issues