10.3 C
Washington

How to hack the Chrome dinosaur game – Tom's Guide

Date:

Share:

Here’s how to hack the Chrome dinosaur game to make the T-Rex invincible
Want to know how to hack the Chrome dinosaur game? Yes, it’s hardly up there with Assassin’s Creed in terms of complex, challenging gameplay, but hacking the browser-based game has several advantages.
Originally designed to keep Chrome users entertained when they lost connection on their desktop or mobile device, the hidden game can now be played when you’re online as well as offline.
As you’re probably aware, it involves guiding a Tyrannosaurus Rex across a side-scrolling landscape. Avoid the obstacles in your path and keep the dinosaur running as long as possible to achieve a high score and beat your previous one.
You might wonder how you could hack such a simple game, but there are a few sneaky tricks. You can make the dinosaur run slower or faster, jump lower or higher, and — best of all — render the T-Rex invincible against the obstacles in its path.
Here, we’ll explain how to apply these secret tweaks and make Chrome’s hidden endless runner game truly endless. But first, here’s a quick guide to the game in case you’ve never played before.
Although you could wait until you go offline to play Chrome’s secret dinosaur game, you can play it in your browser right now without needing to lose your internet connection. Here’s how to play.
1. Type chrome:dino into Chrome’s address bar and press Enter. This will display a graphic of a dinosaur with the instruction “Press space to play.”
Press the Spacebar on your keyboard to begin the secret dinosaur game.

2. Gameplay couldn’t be simpler. As the dinosaur runs across the desert landscape, keep pressing the Spacebar or the up arrow key on your keyboard to jump over the cacti. When you hit one, it’s game over.
The game gets steadily faster and places larger and more frequent cacti in your way.

3. Once you reach 500 points, there’s another obstacle to avoid in the form of pterodactyls flying towards you.
Avoid contact with these by jumping over them or by pressing the down arrow key to duck.

4. The dinosaur game switches to dark mode (white graphics on a black background) when you pass 700 points, then back to standard mode at 900 points.
This happens again at 1,400 points and every further multiple of 700.

5. To pause the game, press the Alt key on your keyboard. You can also press F11 to pause gameplay and switch to full-screen. Click your screen to resume the game.
Want to make the Chrome dinosaur jump higher or lower? Or make the T-Rex start running at a faster speed rather than gradually pick up the pace? Then try these two hacks below.
1. With the Chrome dinosaur game loaded in your browser, right-click the web page and choose Inspect to open the “Developer tools” panel.
Alternatively, press Ctrl+Shift+I on your keyboard, or click the Chrome menu button and choose “More tools,” then “Developer tools.”

2. Click the Console tab at the top of the “Developer tools” panel. To adjust the jump height of the dinosaur, type or copy and paste the following code into the Console text box and press Enter.
Runner.instance_.tRex.setJumpVelocity(15)
You can change the “(15)” part to a higher or lower number to increase or decrease the T-Rex’s jump height.

3. To adjust the dinosaur’s running speed, type or copy and paste the following code into the Console text box and press Enter.
Runner.instance_.setSpeed(1000)
Again, you can change the “(1000)” to a different numerical value for a faster or slower pace.

4. Close the “Developer tools” window and press the Spacebar to start a new game. You should notice the change in jump velocity and running speed.
You’ll also see a new “Start slower” slider at the bottom of the screen that lets you control the starting speed.

If you’re tired of cacti and pterodactyls bringing your game to an early end, you can use a cheat to make you invincible to those obstacles and keep your dinosaur running forever. That may remove the challenge from the game, but it means you can play for longer. Here’s how to apply the hack.
1. As explained in the previous section, open the “Developer tools” panel, either by right-clicking the page and choosing Inspect, or by using one of the other methods.
2. Again, click the Console tab at the top of the panel. Type or copy and paste the following code into the text box and press Enter:
var original = Runner.prototype.gameOver
3. Now, type or copy and paste this code into the Console text box and press Enter:
Runner.prototype.gameOver = function (){}
The “Game over” function in the game will now be disabled, effectively granting the Chrome dinosaur invincibility.

4. Close the “Developer tools” panel and press Space to play a new game.
You’ll find that the T-Rex can now run straight through cacti and pterodactyls without being killed. It can run forever, in fact, while your score reaches amazing new highs.

6. After a while, invincibility can get a bit tedious, so you may want to switch back to a proper game.
To do this, open the Console in the “Developer tools” panel again. Type or copy and paste the following code and press Enter:
Runner.prototype.gameOver = original

Start a new game and you’ll find that the Chrome dinosaur can now be killed by obstacles again, just like its ancestors 65 million years ago!

Robert Irvine is How-To Editor at Tom’s Guide. He has been writing tutorials about software, hardware, websites and other tech topics since the days of dial-up modems, and was previously the editor of Web User magazine. Robert enjoys cooking, and makes a mean sausage casserole, but is definitely not the celebrity chef of the same name.

Subscribe to our magazine

━ more like this

Xbox chief warns console supply constraints will last into 2022 – The Verge

Filed under:It looks like next year won’t be much better for stocks of GPUs and consolesMicrosoft’s Xbox chief, Phil Spencer, says console supply issues...

A Super View of Los Angeles – From New NASA Satellite – SciTechDaily

By Michael Carlowicz, NASA Earth Observatory February 13, 2022 February 7, 2022Landsat 9 completed its own pass last week in time for the...

Top cryptocurrency Prices Today: Bitcoin, Dogecoin, Uniswap gain up to 13% – Economic Times

By Did you Know?Sunny Leone took the lead among Indian actors to secure her digital assets when she broke the news about her association...

‘Save Titanfall’ messages interrupt EA’s billion-dollar Apex Legends franchise – The Verge

Filed under:The billion-dollar battle royale franchise is having problems that tie back to previous games from RespawnRespawn Entertainment’s battle royale shooter Apex Legends has...
spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here