You are probably familiar with the chrome dino game, and you have probably asked what happens at the end of the game. I will answer it for you.
What is the max score in the chrome dino game?
The answer is 999999
How did I find out?
I override the gameOver function so when the game calls it noting happens and set the speed to a high value
Runner.instance_.gameOver = ()=>{}
Runner.instance_.currentSpeed = 100000
When you reach the 999999, sadly the counter restarts, nothing happened. š
You can try this at chrome://dino/
Top comments (4)
It's cool that you figured that out. I guess the other option would have been to freeze the score at 999,999.
Thanks! Here you go:

and you can set the high score
if you set distanceRan = 999 999 its not tha same.. so I calculated the ratio aprox 40*999999 = 39999960 this is working..
Nice and clever test! Sounds like my car when it reached 300k (counter stuck at 299 999km) lol
What gave you the idea?
Some comments may only be visible to logged-in visitors. Sign in to view all comments.