Skip to content

AsmirHabibi/Guess-The-Number-Game-In-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess The Number Game In Cpp

Author - AsmirHabibi
Version - 1.0.0
Date - 14/12/2023
Programming Language - C++
Platform(s) - Windows

Instructions for running The Game

go to command prompt or Windows Powershell or Git Bash and write:
g++ -o your_file_name main.cpp level_system.cpp Easy_Mode.cpp Medium_Mode.cpp Hard_Mode.cpp
and then,
./your_file_name

Game Structure

It has 3 Modes:

Easy Mode

You have to guess a number between 1 and 25.
You have infinite attempts because it is easy mode.

Medium Mode

You have to guess a number between 1 and 25.
You have 15 attempts.
If you loose, it will give you a prompt to restart or Exit the game.

Hard Mode

This is not an Easy levels like before.
You have ONLY 10 tries.
If you loose, it will give you a prompt to restart or Exit the game.