This project is a faithful recreation of the famous "Dinosaur Game" that appears on the Google Chrome offline error page. Built with HTML, CSS, and JavaScript, this project aims to replicate the look and feel of the original game, allowing users to enjoy it even when they're online!
- Pixel-Perfect Design: The game closely mimics the visual style of the original Chrome Dinosaur Game.
- Responsive Gameplay: Smooth animations and responsive controls for an enjoyable user experience.
- Score Tracking: Keep track of your high score as you avoid obstacles.
- Keyboard Controls: Use the spacebar or up arrow key to jump over obstacles.
You can try the game live here.
To run this project locally:
- Clone the repository:
git clone https://github.com/rak3xh/Chrome-DinosaurGame-by-rak3xh.git
- Navigate to the project directory:
cd Chrome-DinosaurGame-by-rak3xh
- Open
index.html
in your web browser
-
Jump: Press the spacebar or the up arrow key to make the dinosaur jump over obstacles.
-
Avoid Obstacles: Avoid hitting cacti and birds to keep the game going.
-
High Score: The game keeps track of your highest score, so you can always aim to beat it!
-
HTML5: For the structure of the game.
-
CSS3: To style the game and create pixel-perfect graphics.
-
JavaScript: Handles the game logic, including collision detection, score tracking, and animations.
If you'd like to contribute to this project, please feel free to fork the repository and submit a pull request with your enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.
-
Thanks to Google for the original inspiration and design of the Dinosaur Game.
-
Special thanks to the open-source community for providing valuable resources and tools.
For any inquiries or suggestions, feel free to reach out via email or create an issue on GitHub.