First, I’d like to say that I’m very happy as this is my first blog post in my new website and It’s also in English language. Besides this, I’m also happy because I changed a negative day in the office without stable internet connection to an adventure by searching how to cheat Chrome’s Dinosaur Game.
So, in the below lines, we will see how we can win the game with only one line of code. This one: Runner.instance_.tRex.config.GRAVITY = 0
The instructions are very simple:
- First, go offline (or use Chrome’s Dev Tool to simulate offline mode).
- When you see the Dino start the game and instantly press F12 to open the Dev Tools.
- In the console paste the line: Runner.instance_.tRex.config.GRAVITY = 0
- Now return to the game and press space bar to jump.
As you see by setting the gravity to zero, you just disable the force that attracts the dinosaur back to the ground, so you can pass all the obstacles. And when you need your leading actor back to the ground to finish the game, just press and hold the arrow down key.
That’s all folks, I hope you enjoy the above cheat and made your day more… productively!