20 min +100 XP
Lesson 28Step 1 of 5

Number Guessing Game

Build a fun interactive game

Project: Number Guessing Game

Let's build a complete game using everything you've learned! The computer picks a random number, and you try to guess it.

Game Features:

  • Random number between 1-100
  • Tells you if guess is too high or too low
  • Tracks number of attempts
  • Shows guess history
  • Win condition and reset