Hot and Cold

Step 5: Respond to the guess based on the following rules:
  • 0 away: end the game and congratulate the user, display the number of guesses
  • 1 away: On Fire!
  • Less than 5 away: Hot
  • Less than 15 away: Warm
  • Less than 25 away: Cool
  • Less than 50 away: Cold
  • 50+ away: Freezing!
Last step Next section