Hack Tips - Chrome Dino Game Endless Runner

How to hack a dino game in chrome web browser using a simple javascript


Google Chrome includes an endless runner Dinosaur game that appears in the absence of an internet connection.

If you can't get the No Internet page, open another tab and type chrome://dino, and press enter.

This is often the case when there is no internet connection. It was created by Google in the early days and this simple game managed to impress many people. It was later removed, but due to its popularity, it had to be further released with Google Chrome. Although this simple game seems to have been created with an Endless Loop, there are some hints that Google developers may see an end to it if they play it for 99 years.

However, today I brought to you the Google Chrome Dino game to be set up to play automatically. The back-end mechanism part of this game is created in JavaScript.

Playing

  • Jump - Space
  • Pause - Alt

Open Developer Console

  • Make sure you are on the Dino game Page or No Internet Page
  • Right-click anywhere on the page and select Incept ( Shortcut Key: Ctrl + Shift + I )
  • Switch the Console Tab. This is the place where we will enter the commands to change the game.

Storing the original state of the game

In this case, the original state of the game is stored. By skipping this step the game will not return to its original state after the game is changed. Refreshing the Tab will erase the scores you get even after recovery.

//Save The Game Original Status
var original = Runner.prototype.gameOver;

Make the GameOver Function Empty

When playing the game, you will see a message saying Game Over when you encounter obstacles (cactus, birds) encountered on the way. In this step, the Over function section called Game Over is emptied. Then no matter how much you fail in the game, it will not show any message.

//Empty the game Over Function
Runner.prototype.gameOver = function(){};

Increase The Player Speed

Increases the speed of the player's movement. This will allow you to earn points faster. But if you skip the steps above, this code will not work either. Here the speed is given as 1000. If you are not satisfied with it, try different values.
//Increase the player speed
Runner.instance_.setSpeed(1000);

Rollback game status

Type these codes and press enter to restore the changes you made in the game.
//Reset Game Hack
Runner.prototype.gameOver = original;
Runner.instance_.setSpeed(10);

You can be sure that this article will surprise your friends. Please feel free to share such experiences. Our Admin Panel is always ready to answer any questions you may have. Also suggest what to bring in future articles, comment below

Post a Comment

3 Comments