A Python implementation of the Chrome browser's offline dinosaur runner game, built using Pygame.
Dino Soar is a partial clone of Chrome's famous no-network dinosaur game where players control a running dinosaur, jumping over cacti and ducking under pterodactyls to achieve the highest possible score.
- MVC (Model-View-Controller) architecture
- Frame-based animations and sprite-based graphics
- Progressive difficulty scaling
- Sound effects
- Keyboard controls for jump and duck actions
- Python 3.x
- Virtual environment (venv)
- Clone the repository
- Set up the virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txtFrom the project root directory:
python src/main.py- Space/Up Arrow: Jump
- Down Arrow: Duck
dino-soar/
├── assets/ # Game assets (images, fonts, sounds)
├── src/ # Source code
│ ├── model/ # Game logic and state
│ ├── view/ # Visual components and sprites
│ └── main.py # Main game controller
├── requirements.txt # Python dependencies
└── README.md # This file
- No splash / intro screen
- No night mode
- No easter eggs / collectables
- No high score tracker
- No restart button
- No slow mode
- Score formula slightly different
- Cacti grouping slightly different
- Obstacle spawning logic slightly different
- Jump trajectory for dino slightly different
- Higher max speed
- Sounds are recorded, not synthesized?
- Not implemented for mobile device or other window sizes
Jeff Ettenhofer