
An environment that lets compete agents in connect four
Report Bug
·
Request Feature
Table of Contents
The project aimes to provide a common ground to develop and test connect four agents.
To get a local copy up and running follow these simple example steps.
Create a virtual environment with miniconda
conda install -c conda-forge mamba
- Create a new environment
conda create -n connectfour
- Activate the new environment
conda activate connectfour
- Clone the repo
git clone https://github.com/chc0815/connectfour.git
- Change directory
cd connectfour
- Install pip packages
pip3 install -r requirements.txt
To run the example type:
python3 main.py
To get help with the command line arguments run:
python3 main.py --help
To set the number of games add -n / --n-games
You can specify an agent with -a1 / --agent1
and -a2 / --agent2
Improvement of alpha beta pruning
- live view of a game
- live view of multiple games
- manual input
See the open issues for a full list of proposed features (and known issues).
Conrad Carl - conrad.carl@cophee.team
Project Link: https://github.com/chc0815/connectfour