Connect Four is a classic two-player connection board game. The objective is to be the first to form a horizontal, vertical, or diagonal line of four discs of your color.
This repository contains the source code for a simple Connect Four game implemented in C, making it playable in the command line.
- Two-Player Gameplay: Play against a friend on the same computer.
- Command Line Interface: Enjoy the game in a text-based environment.
- Interactive Gameplay: Alternate turns, drop tokens into columns, and strategize to win.
- Win Detection: The game automatically detects when a player wins and announces the winner.
- Customizable Rules: Select the number of tokens needed to win (3, 4, or 5).
- Clone this repository to your local machine.
- Compile the game using a C compiler (e.g., GCC)
- Follow the on-screen instructions to play the game.
Enjoy a classic game of Connect Four with a friend or challenge yourself against the computer!