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.
- Clone or download the repository.
- Compile the source code using a C compiler, such as GCC.
- Run the executable file.
- Follow the on-screen prompts to play the game.
- Players take turns dropping their colored disks into the grid.
- The bottom-most empty space in the chosen column will be filled with the player's disk.
- The game ends when one player connects four of their disks in a row or when the grid is full.
If you would like to contribute to the development of this project, please fork the repository and submit a pull request with your changes.
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.