Chrome’s dinosaur game it’s appear to be a very popular game for our rough days in the office. Thus, this my story how I change a negative day in the office when I haven’t stable internet connection, to an adventure, by exploring the Dino game that we all love and ending up to a fun and super easy cheat.

The method was pretty easy. As the Dino game living under a webpage, I though it would be accessible to manipulate it through the Chrome’s DevTool page. So, by searching the web you can easily found that you can access game’s instance through “Runner” class. After this, it was a matter of time to discover a variable that will help us to achieve our goal.

So, one of the useful variables was the “gravity”, and we will use it to win the game by writing the bellow line of code only. Runner.instance_.tRex.config.GRAVITY = 0

Read More