Number Guessing Game - Build a Number Guessing Game

Tell us what’s happening:

Every print test is failing, when I play the game the check for existing user works.
I even tried with the automated users created after a test run and they are recognized.
It seems to me that best game and number of tries are also recorded.
I checked for similar questions on the forum therefor I tried to copy the messages again, also tried to change the way TRIES are taken into acount (removed tries where input was incorect)
I don’t understand where the problem lies.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0

Challenge Information:

Number Guessing Game - Build a Number Guessing Game

a common mistake is not coutning all guesses, even the invalid ones. Looking quickly at your code it seems you have that issue

Well that’s the thing I read on another thread that they should not be accounted for so I tried both but nothing seems to work.

Oh wait I think I got it. I need to count the winning try. So stupid :face_with_bags_under_eyes: