Number Guessing Game - Build a Number Guessing Game

Tell us what’s happening:

Everything seems to be perfect, but after running the test, it says: “Your script should print the correct welcome message for returning users”. And after reading similar issues, some suggested to keep running the test, which I did but isn’t working. These are the 2 code - echo “Welcome back, $USERNAME! You have played $GAMES_PLAYED games, and your best game took $BEST_GAME guesses.”

  • echo “You guessed it in $NUMBER_OF_GUESSES tries. The secret number was $SECRET_NUMBER. Nice job!” kindly help

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Number Guessing Game - Build a Number Guessing Game

please share your code, no one can help you if you don’t share your code