YG
Projects
Projects

C++, CLI

Connect 4

2025

Cross-Platform CLI Game

Completed

A console-based implementation of Connect Four in C++ featuring keyboard-driven navigation, customizable player names, persistent high scores, and complete game-rule handling.

C++, CLI, Make, Game Logic, Data Structures, Cross-Platform Development


Connect 4

This is a simple C++ based Connect 4 game

Features

How to Play

  1. Clone the repository:

    git clone https://github.com/YousefElGhoul/Connect4.git
  2. Navigate to the project directory:

    cd Connect4
  3. Run make:

    make
  4. Run the game:

    ./Connect4.exe

Controls

Game Rules

  1. Players take turns to drop their colored discs from the top into a seven-column, six-row vertically suspended grid.
  2. The pieces fall straight down, occupying the next available space within the column.
  3. The objective is to be the first to form a horizontal, vertical, or diagonal line of four of one’s own discs.

License

This project is licensed under the MIT License.

GitHubGitLabLinkedIn[email protected]