-
Create a virtual environment:
python3.12 -m venv .venv
-
Activate the virtual environment:
-
On Windows:
.venv\Scripts\activate
-
On macOS and Linux:
source .venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
- Basic coverage test:
pytest --cov=gym_env --cov-report=term-missing --cov-report=html --cov-branch- To test your agent (5 hands per bot) against ProbabilityAgent, AllInAgent, FoldAgent, CallingStationAgent, RandomAgent:
python agent_test.py- To run a full match (1000 hands) of your agent against a specific agent:
python run.pyYou can modify which bots play by modifying the agent config file. Write the file path to the corresponding agent for that bot to play.