Ultimate Guide to Hacking Google’s Dinosaur Game

The Google Chrome's Dinosaur game is created by google UX Engineer Edward Jung. It's an endless game with its simple controls and nostalgic graphics, it invites players to jump over cacti and dodge flying pterodactyls, all while offering a delightful reminder of simpler times in gaming. It's a game that brings smiles and fond memories, making waiting for an internet connection a surprisingly enjoyable experience.

In this tutorial, we are gonna play with this Dino game in a more fun way

How to Play

It is an offline game Google Chrome offers when we have no internet connection

You can also get the game even in the online state by searching chrome://dino in Google Chrome search bar.

Play Controls

  • Spacebar / up – Jump

  • Down – duck

  • Alt – pause

First, Open the Google's Dino game

  • Right click on the page and click inspect

  • Or, press Ctrl + shift + I to open inspect

  • Go to console tab, this is where we are going enter the commands to hack the game

To increase the speed of the Dino

Type the below command in the console to increase speed.

Runner.instance_.setSpeed(1000)

Instead of 1000 you can change as your wish.

To achieve the immortality

Initially type the below command in the console tab

var original = Runner.prototype.gameOver

In order to make the Dino to be immortal we want to make the game over function empty

Runner.prototype.gameOver = function(){}

To reset the game

If you like to play a normal fair game after this hacking process enter the below command

Runner.prototype.gameOver = original

Thank you for referring my blog. I think it will helpful to you. Please post the results in the comment box below.

1
Subscribe to my newsletter

Read articles from Pirasanth Vaigunthanathan directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pirasanth Vaigunthanathan
Pirasanth Vaigunthanathan