Intro
This is a very entertaining project since you build it and then you can use it.

EXPANDED TECHNICAL DETAILS
Handheld Gaming Logic
Built on the classic 16x2 Character LCD, this project recreates a side-scrolling obstacle avoidance game, similar to "Dino Run."
- Custom Character creation: Utilizes the
lcd.createChar()function to design unique 5x8 pixel bitmaps for the player avatar and incoming obstacles (birds, cacti, or pits). - Physics Engine: The Arduino manages a "Frame Buffer" in its RAM, shifting obstacles one column to the left every 200ms. It constantly checks for a "Collision" where the player position overlaps with an obstacle bit.
Performance Optimization
- Non-Blocking input: Uses
millis()for gravity and movement, ensuring that the game remains responsive to button presses even during high-speed animation phases.