This project recreates the classic Chrome Dinosaur Game on an Arduino platform. It's a fun and educational project that combines hardware and software to create an engaging game experience.
The Arduino Dino Game is a recreation of the popular offline game found in Google Chrome. Players control a dinosaur character, making it jump to avoid obstacles. The game's difficulty increases as the player's score grows.
- Arduino UNO board
- LCD display
- Switch key (Joystick)
- Custom PCB
- Buzzer (optional, for sound effects)
- Movement: Use the switch to control the dino's jumping.
- Obstacles: Randomly generated trees appear on the screen, which the player must avoid.
- Scoring: The player's score increases as they progress.
- Game Over: Triggered upon collision with an obstacle.
- Restart: Players can restart the game to try and beat their high score.
- Connect the hardware components according to the circuit diagram (not provided in this README).
- Install the Arduino IDE on your computer.
- Install the LiquidCrystal library if not already present.
- Copy the provided source code into a new Arduino sketch.
- Upload the sketch to your Arduino board.
- Power on the Arduino.
- Press the switch key (A4) to start the game.
- Use the switch to make the dinosaur jump and avoid obstacles.
- Try to achieve the highest score possible!
The main components of the code include:
- Game initialization
- Main game loop
- Character and obstacle generation
- Input handling
- Collision detection
- Score tracking
For a detailed look at the code, please refer to the source code section in the project files.
We welcome contributions to improve the Arduino Dino Game! Here are some ways you can contribute:
- Report bugs
- Suggest enhancements
- Add new features
- Improve documentation
Please feel free to fork the repository and submit pull requests.
This project was developed by:
- Ramakrishna
- Palaniyappan
- mintnchocochip
- Madhan
GNU Public License v3.0
We hope you enjoy playing and tinkering with the Arduino Dino Game! If you have any questions or suggestions, please open an issue in this repository.