Skip to content

CHC0815/connectfour

Repository files navigation

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 - [email protected]

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

(back to top)

About

A platform to let connect four agents compete

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages