Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 21, 2021 09:07 am GMT

Chrome Dino Game using Python...

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 wont 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

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:

python chromedino.py

Input:

KeysActions
Any KeyPress 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:


Original Link: https://dev.to/dhhruv/chrome-dino-game-using-python-2595

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To