Welcome to the Connect Four Game! This is a terminal-based version of the classic Connect Four game.
Connect Four is a two-player connection game in which the players take turns dropping colored discs from the top into a vertically suspended grid. The objective is to be the first to form a horizontal, vertical, or diagonal line of four discs.
This repository contains a terminal-based version of the Connect Four game written in Python.
- Two-player gameplay
- Interactive terminal interface
- Real-time win detection
- Simple and clean code structure
To get a copy of this game up and running on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/Medo-ID/Connect_Four_Game-Terminal_Version.git
- Navigate to the project directory:
cd Connect_Four_Game-Terminal_Version
To play the game, you can either install the required package or use the source files directly:
-
Install the PyPI package:
pip install keyboard
-
Or clone the repository (no installation required, source files are sufficient):
git clone https://github.com/boppreh/keyboard
-
Or download and extract the zip into your project folder.
Then check the API docs below to see what features are available.
To start the game, run the following command in your terminal:
python connect_four.py