Skip to content

Guri080/Connect-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Connect Four Game in C

Overview

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.

Features

  • 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).

How to Play

  1. Clone this repository to your local machine.
  2. Compile the game using a C compiler (e.g., GCC)
  3. 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages