DEV Community

loading...

Chrome Dino Game using Python...

dhhruv profile image Dhruv Panchal ・2 min read

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.

Dino GIF

Installation:

  • First of all, clone the repository using:
git clone https://github.com/dhhruv/Chrome-Dino-Runner.git
Enter fullscreen mode Exit fullscreen mode

OR
Download the Zip and extract it's contents.

  • Then download the dependencies in your Command Prompt OR Terminal using:
pip install requirements.txt
Enter fullscreen mode Exit fullscreen mode

Usage:

python chromedino.py
Enter fullscreen mode Exit fullscreen mode

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:

GitHub logo dhhruv / Chrome-Dino-Runner

πŸ±β€πŸ‰ A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.

References:

Discussion (2)

Collapse
mrwolferinc profile image
mrwolferinc

I hope schools block it

Collapse
dhhruv profile image
Dhruv Panchal Author

Why is that ?

Forem Open with the Forem app