https://github.com/morgankryze/connect-4
A simple connect-4 game built with python and blessed.
https://github.com/morgankryze/connect-4
ai connect-4 game minimax-algorithm
Last synced: 5 months ago
JSON representation
A simple connect-4 game built with python and blessed.
- Host: GitHub
- URL: https://github.com/morgankryze/connect-4
- Owner: MorganKryze
- License: mit
- Created: 2024-01-13T12:56:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T14:08:26.000Z (over 1 year ago)
- Last Synced: 2024-01-23T00:11:02.042Z (over 1 year ago)
- Topics: ai, connect-4, game, minimax-algorithm
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Connect-4
> A simple connect-4 game built with python and blessed.

## Getting Started
### Docs
If you want to learn more about the project's flow, you can read the [docs](docs/flow.md) or the [minimax implementation](docs/minimax_implementation.md).
### Prerequisites
- [Python 3.9+](https://www.python.org/downloads/)
- [Pip](https://pip.pypa.io/en/stable/getting-started/)
- [Git](https://git-scm.com/downloads)### Install
To install the game, start by cloning the repository:
```bash
git clone https://github.com/MorganKryze/Connect-4.git
```Then, install the dependencies:
```bash
pip install -r requirements.txt
```### How to use
To start the game, run the following command:
```bash
python src/main.py
```Then use the arrow keys and enter to navigate the menu, and play the game using your numpad.
### Configuration
You can change the game settings by editing the `constants.py` file in the modifiable section (number of columns, lines or tokens available).
## Authors
- [**Morgan Kryze**](https://github.com/MorganKryze)
- [**MailiTurong**](https://github.com/MailiTruong)
- [**sheesh3218**](https://github.com/sheesh3218)## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.