Find a file
2016-11-27 18:24:52 -06:00
.gitignore Initial commit - C++ 2016-11-27 17:25:52 -06:00
README.md Initial commit - C++ 2016-11-27 17:25:52 -06:00

Number-Guessing Game


Gameplay:

  1. Computer generates random number
  2. Computer starts "I'm thinking of a number..."
  3. Player inputs number
  4. Computer responds higher, lower, or exact for input
  5. 2 & 3 repeat until player guesses number
  6. Computer says how many guesses it took

Requirements:

  • player
    • ability to give input
    • player's guessed numbers
  • computer
    • computer's random number
    • ability to receive input
    • number comparison calculations
    • give reply on number