Skip to content

AliAlsalkhadi/Connect_Four_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Connect Four

Connect Four is a classic two-player game where players take turns dropping shapes into a vertical grid. The goal of the game is to connect four of your own shape in a row, either horizontally, vertically, or diagonally.

This implementation of Connect Four is written in C and can be played on the command line.

Getting Started

  1. Clone or download the repository.
  2. Compile the source code using a C compiler, such as GCC.
  3. Run the executable file.
  4. Follow the on-screen prompts to play the game.

Game Rules

  1. Players take turns dropping their colored disks into the grid.
  2. The bottom-most empty space in the chosen column will be filled with the player's disk.
  3. The game ends when one player connects four of their disks in a row or when the grid is full.

Contributing

If you would like to contribute to the development of this project, please fork the repository and submit a pull request with your changes.

Acknowledgments

The game rules and mechanics were inspired by the classic board game Connect Four. The design of the game is based on the Connect Four game by Milton Bradley.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages