What happens when you reach the max score in the chrome dino game? 🤔

What happens when you reach the max score in the chrome dino game? 🤔

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

console

Maurer Krisztián max score cut

When you reach the 999999, sadly the counter restarts, nothing happened. 😔

Set scores

Image description

Runner.instance_.distanceRan = 39999960
Runner.instance_.currentSpeed = 0

and you can set the high score

Runner.instance_.distanceMeter.setHighScore(39999960)

if you set distanceRan = 999 999 its not tha same.. so I calculated the ratio aprox 40*999999 = 39999960 this is working..

You can try this at chrome://dino