**Dino Run Game ** is a thrilling expansion of the classic Chrome Dino game, built entirely using Java and structured with powerful Object-Oriented Programming (OOP) principles. It introduces new gameplay mechanics, improved visuals, and clean modular design.
Dodge cactuses, fly past birds, collect coins, activate shields — and survive the endless desert!
- Bird Obstacles — Flying enemies for added challenge
- Shield Power-ups — Temporary invincibility
- Coin Collection — Score-boosting collectibles
- OOP Design — Modular, scalable structure
- High Score Tracking — File I/O for persistent scores
- Collision Detection — Event-based interactions
- Sound Management — Background music & FX
Defines all core game elements (inherit from GameObj.java):
Dino.java,Birds.java,Cactuses.java,Clouds.java,Coin.java,Shield.javaLand.java,Score.java,Block.java
Handles in-game logic and mechanics:
CoinManager.java,EnemyManager.java,ControlsManager.java,SoundManager.java
Game settings, states, and constants:
DinoState.java,GameState.java,EnemyType.java,Controls.java,Animation.java
Resource.java: Manages image and audio resources
GUI components of the game:
GameScreen.java,GameWindow.java
- Encapsulation: Keeps object properties and behaviors protected
- Inheritance: Common game behaviors shared via base classes
- Abstraction: High-level logic hidden behind clean interfaces
- Polymorphism: Reusable behaviors across multiple entities
Lightmode
Darkmode
- Clone the repository
git clone https://github.com/your-username/dino-run.git cd dino-run

