Skip to content

Alxcccc/connect-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect 4

This is a replication of the game commonly known as Connect 4.

Technologies

Python

Game Rules

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.

Installation

To run the game, ensure you have Python installed and follow these steps:

Clone the repository:

git clone https://github.com/Alxcccc/connect4.git

Navigate to the project directory:

cd connect4

Run the program:

python main.py

About

This is a replication in CLI of the game commonly known as Connect 4.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages