Connect4 is a C implementation of the classic game with a twist—now in a single-player mode on a compact 4x4 grid. This version offers the option to adjust the difficulty level of the computer AI opponent.
The objective remains familiar: strategically drop colored discs into columns to connect four in a row horizontally, vertically, or diagonally. The reduced grid size maintains simplicity while introducing heightened strategic depth. As a solo player, your challenge is anticipating moves and creating winning combinations against the artificial intelligence opponent.
- Single-player mode
- Adjustable difficulty levels for the AI opponent
- Compact 4x4 grid for quick, engaging gameplay
- Clone the repository:
git clone https://github.com/carbonvibes/Connect4.git
- Change directory:
cd Connect4
- Compile the code:
gcc -std=c17 Connect4.c -o connect4
- Run the game:
./connect4
Feel free to customize and enhance the game as you see fit. Enjoy the quick-thinking experience of Connect4 in this delightful single-player puzzle challenge.