Arduino LCD Dino Run
The Chrome Dino running game rebuilt on a 16x2 character LCD, developed as a school and personal project.
Overview
- Context
- I wanted to rebuild the Chrome Dino game on hardware with almost no display: a 16x2 character LCD.
- Action
- The LCD can only hold a few custom characters, so I drew the dinosaur and obstacles as custom sprites from binary bitmasks. A push button makes the dinosaur jump, and a potentiometer sets the screen contrast.
- Result
- A playable running game on a 16x2 LCD.
- Learning
- A push button bounces when pressed, so one press can read as several. Debouncing the input made each press count once, and keeping the main loop small kept the game responsive on the Uno.
What I did
- Rendered LCD sprites with custom binary bitmasks and a memory-efficient loop using debounced input polling
Parts
- Arduino Uno
- 16x2 character LCD
- Push button
- Contrast potentiometer