33. Number Guessing Game

Create a simple number-guessing game that can save scores and print out the leaderboard with your current score.

The game can be as follows: 

  • Arduino selects any random number (1 to 100) and asks the user to guess it. 
  • Once the user enters any number, if it is higher than the selected number, it will show “Too High” and if it is low- “Too Low” until the user guesses the correct number.
  • User guess attempts count will be saved by Arduino and ranked under the Leaderboard as follows. Although our Arduino-based Game resets or power off, it should retain the Leaderboard.  

Submit Your Solution