Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dhhruv/chrome-dino-runner

πŸ±β€πŸ‰ A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.
https://github.com/dhhruv/chrome-dino-runner

algorithm chrome chrome-dino-game chrome-dinosaur-game dinosaur-game framework game games google-chrome hacktoberfest hacktoberfest2023 library pygame python python3 software

Last synced: 26 days ago
JSON representation

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

Awesome Lists containing this project

README

        



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`](https://github.com/dhhruv/Chrome-Dino-Runner/blob/master/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. |

### References:
- http://www.pygame.org/docs
- https://en.wikipedia.org/wiki/Dinosaur_Game
- Various articles and videos.