Skip to content

hjicks/MasterMind-Console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MasterMind-Console

Number guessing game in C++

demo

It's a simple game. Goal is to guess a number. Length of number is received from the user, and number of guesses depends on the length. If the length is less than 10, then number of user chances is equal to length. Otherwise, user have 9 chances to guess the number.

Main functionality of code is based on working with strings, so we included string library. Prototype of main game functions added at the top of the code for better code readability.

Please note that game uses C++ 11, compilers using older standards fail to compile this code.

About

Number guessing game in C++

Resources

Stars

Watchers

Forks

Languages

  • C++ 100.0%