A platform to let connect four agents compete
Find a file
Conrad Heinrich Carl 42dc0ba368 bot
2024-01-06 01:51:19 +01:00
.vscode add extensions 2023-12-09 22:22:11 +01:00
agents move some deep learning parts around 2023-12-10 22:56:44 +01:00
bot bot 2024-01-06 01:51:19 +01:00
connectfour bot 2024-01-06 01:51:19 +01:00
images add a screenshot 2023-12-10 01:02:54 +01:00
measurement add back link 2023-12-10 15:33:05 +01:00
.gitignore add types 2024-01-02 23:55:39 +01:00
deep_learning_requirements.txt add dl requirements 2023-12-10 18:40:15 +01:00
main.py add deepbot to list of built in agents 2023-12-10 20:56:25 +01:00
README.md update readme 2023-12-10 15:16:57 +01:00
requirements.txt add progress bar to simulation 2023-12-10 14:00:42 +01:00
test.py add a deep learning bot 2023-12-10 20:49:02 +01:00

Stargazers Issues


Logo

Connect Four Battle Grounds

An environment that lets compete agents in connect four
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Measurements
  5. Roadmap

About The Project

The project aimes to provide a common ground to develop and test connect four agents.

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Recommendation

Create a virtual environment with miniconda

  1. Install miniconda

  2. [Optional]. Install and use mamba instead of conda

  conda install -c conda-forge mamba
  1. Create a new environment
  conda create -n connectfour
  1. Activate the new environment
  conda activate connectfour

Installation

  1. Clone the repo
    git clone https://github.com/chc0815/connectfour.git
    
  2. Change directory
    cd connectfour
    
  3. Install pip packages
    pip3 install -r requirements.txt
    

(back to top)

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

(back to top)

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).

(back to top)

Contact

Conrad Carl - conrad.carl@cophee.team

Project Link: https://github.com/chc0815/connectfour

(back to top)