A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode so you don't have to be offline to play it...ππ
Introduction:
- The Dinosaur Game, also known as the T-Rex Game, Steve the Jumping Dinosaur, or Dino Runner and initially codenamed Project Bolan, is a built-in browser game in the Google Chrome Web Browser. The game was created by Sebastien Gabriel in 2014, and can be accessed by hitting the space bar when in offline mode on Google Chrome.
About:
- The following represents a recreated version of the famous Dinosaur Game from Chrome Browser Offline mode implemented using Python and PyGame. The project file contains Image Files and a python script (chromedino.py).
- A simple and easy-to-use GUI is provided for better gameplay. The gameplay design is so simple that the user wonβt find it difficult to use and understand. Different images are used in the development of this simple game project, the gaming environment is just like the original Chrome Dino Run game. For demo of the project, have a look at the GIF below.
Installation:
- First of all, clone the repository using:
git clone https://github.com/dhhruv/Chrome-Dino-Runner.git
OR
Download the Zip and extract it's contents.
- Then download the dependencies in your Command Prompt OR Terminal using:
pip install requirements.txt
Usage:
- After installation, just run the
chromedino.py
using
python chromedino.py
Input:
Keys | Actions |
---|---|
Any Key |
Press any key to Start the Game. |
β | Press Up Arrow to jump and avoid cacti. |
β | Press Down Arrow to duck and avoid pterodactyls. |
So, stay tuned for further updates on GitHub:
dhhruv / Chrome-Dino-Runner
π±βπ A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.
References:
- http://www.pygame.org/docs
- https://en.wikipedia.org/wiki/Dinosaur_Game
- Various articles and videos.
Top comments (8)
I'm getting an error on the GIF
No matter what I use, it gives an error. Can you help regarding that @michaelcurrin ?
I previewed this and saw the Network tab gives an error.
422 Unprocessable Entity
Can you elaborate or attach a screenshot ??
Two browsers give me this view:
And clicking the broken link gives and error page.
Can I suggest linking to your image on GitHub? Then you don't have to upload it here.
Use the raw view and paste the link here as:
I tried but it works on the dev.to website but not this one. Still will try once again. Thanks for reaching out @michaelcurrin .
Maybe the upload failed or GIFs aren't supported to upload.