Skip to content

This is an implementation of the infamous game Connect4 using C, featuring single player mode along with the option to choose snd modify the difficulty level of the computer AI opponent.

License

Notifications You must be signed in to change notification settings

carbonvibes/Connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect4

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.

Overview

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.

Features

  • Single-player mode
  • Adjustable difficulty levels for the AI opponent
  • Compact 4x4 grid for quick, engaging gameplay

Getting Started

  1. Clone the repository: git clone https://github.com/carbonvibes/Connect4.git
  2. Change directory: cd Connect4
  3. Compile the code: gcc -std=c17 Connect4.c -o connect4
  4. 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.

About

This is an implementation of the infamous game Connect4 using C, featuring single player mode along with the option to choose snd modify the difficulty level of the computer AI opponent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages