


This step is IMPORTANT if you want to stop the game later and needs to be done before you reset the gameOver function.įunction dispatchKey ( type, key ), Runner. We store the original game over function in a variable. If you see undefined after entering a command correctly, don’t worry that is expected (for those who want to know more, it is the return type of the function we called).įollow the commands to make the dino un-killable. This is where we will enter the commands to tweak the game.Īfter every command press enter. Right click anywhere on the page and select Inspect.

Make sure you are on the No Internet Connection page.The game enters a black background mode after every multiple of 700 points for the next 100 points.Down: Duck (pterodactyls appear after 450 points).Space Bar / Up: Jump (also to start the game).Just in case, this is your first time seeing this game, it is fairly straightforward to play. We can do all this from the Chrome console. In the game it runs through the desert, encountering pterodactyls and cactuses that need to be avoided by jumping or ducking. Due to JavaScript’s dynamic nature, we can override functions on the class to change the functionality. Not too important if you’re not a programmer, this game is written in JavaScript and fortunately for us the class and object are globally exposed. A funny 2D infinite runner is coming, meet ‘Steve’, your new friend that lives in your notification center. If you are unable to get the No Internet page, open a new tab and type chrome://dino and press enter. HoloLens PC Mobile device Hub Description Feel like a TRUE RUNNER in this awesome endless jumping game With a simple click on the screen you will dodge all obstacles in the way.
