...

/

Build a Number Guessing Game

Build a Number Guessing Game

Build a playable guessing game with loop + logic.

You’ve learned input, loops, and logic—now let’s put it all together into your first C++ mini game.

Press + to interact

Goal

You’ll aim to:

  • Use while loops to allow repeated guesses.

  • Use rand() to generate a random number.

  • Compare input and give feedback. ...

Full game