mirror of
https://github.com/CHC0815/connectfour.git
synced 2026-05-29 15:32:10 +00:00
A platform to let connect four agents compete
- Python 100%
| .vscode | ||
| agents | ||
| bot | ||
| connectfour | ||
| images | ||
| measurement | ||
| .gitignore | ||
| deep_learning_requirements.txt | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| test.py | ||
Connect Four Battle Grounds
An environment that lets compete agents in connect four
Report Bug
·
Request Feature
Table of Contents
About The Project
The project aimes to provide a common ground to develop and test connect four agents.
Getting Started
To get a local copy up and running follow these simple example steps.
Recommendation
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
Installation
- Clone the repo
git clone https://github.com/chc0815/connectfour.git - Change directory
cd connectfour - Install pip packages
pip3 install -r requirements.txt
Usage
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
Measurements
Improvement of alpha beta pruning
Roadmap
- 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).
Contact
Conrad Carl - conrad.carl@cophee.team
Project Link: https://github.com/chc0815/connectfour