Sethispr / connect4

A python-based colored connect4 game which can be used to get best moves or have fun playing with an AI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connect4

Welcome to the Connect 4 game! This Python program allows you to play the classic Connect 4 game against an AI opponent.

Features

  • Interactive gameplay
  • AI opponent using the minimax algorithm
  • Colorful console output using the termcolor library

Requirements

To run the game, you need to have the following dependencies installed:

  • NumPy
  • termcolor

Install the dependencies using pip:

pip install -r requirements.txt

Usage

To play the game, simply run the compressed.py/main.py file.

OR

python3 compressed.py

Output Example

Contributing

Contributions are welcome! If you have any suggestions or find any issues, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A python-based colored connect4 game which can be used to get best moves or have fun playing with an AI.

License:MIT License


Languages

Language:Python 100.0%