This is a replication of the game commonly known as Connect 4.
Python
Objective: Connect four discs in a row (horizontally, vertically, or diagonally).
Board: The game is played on a board with 6 rows and 7 columns.
Players: Two players, each with 21 discs of one color (typically red or yellow).
Turns: Players take turns dropping a disc into their chosen column. The disc will fall to the lowest available position in that column.
Victory: The first player to connect four consecutive discs wins. If the board fills up without a winner, the game ends in a draw.
To run the game, ensure you have Python installed and follow these steps:
Clone the repository:
git clone https://github.com/Alxcccc/connect4.gitNavigate to the project directory:
cd connect4Run the program:
python main.py