https://github.com/siddharth-narayan-mishra/dino-game
Dino Game: A browser game inspired by Chrome's offline dinosaur game. Built with JavaScript and GSAP, it features a jumping dino, obstacles, and score tracking. Players use spacebar to avoid collisions. This project showcases basic game mechanics and animations, serving as a coding exercise for browser game development.
https://github.com/siddharth-narayan-mishra/dino-game
css dinosaur-game game gsap html javascript
Last synced: 5 months ago
JSON representation
Dino Game: A browser game inspired by Chrome's offline dinosaur game. Built with JavaScript and GSAP, it features a jumping dino, obstacles, and score tracking. Players use spacebar to avoid collisions. This project showcases basic game mechanics and animations, serving as a coding exercise for browser game development.
- Host: GitHub
- URL: https://github.com/siddharth-narayan-mishra/dino-game
- Owner: siddharth-narayan-mishra
- License: mit
- Created: 2024-06-28T19:22:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-29T16:33:25.000Z (over 1 year ago)
- Last Synced: 2024-06-29T20:46:27.970Z (over 1 year ago)
- Topics: css, dinosaur-game, game, gsap, html, javascript
- Language: JavaScript
- Homepage: https://dino-game-siddharth.vercel.app/
- Size: 13.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dino Game
A simple, engaging browser-based game inspired by the classic Chrome Dino Runner. Built with JavaScript and GSAP for smooth animations.
## Features
- Responsive dino character that jumps with spacebar input
- Randomly generated obstacles
- Score tracking system
- Game over screen with restart functionality
- Smooth animations powered by GSAP## Tech Stack
- HTML5
- CSS3
- JavaScript (ES6+)
- GSAP (GreenSock Animation Platform)## How to Play
Press the spacebar to make the dino jump over incoming obstacles. The game ends if the dino collides with an obstacle. Your score increases as you successfully avoid obstacles.
## Installation
1. Clone the repository
2. Open `index.html` in your browser
3. Start playing!## Future Enhancements
- Mobile touch support
- Multiple obstacle types
- High score leaderboard
- Sound effects and background musicFeel free to contribute, report issues, or suggest improvements!