Cave Runner (AVR Embedded Game)

Real-time obstacle-dodging game in C for an ATmega32U2, rendered on a 5×7 LED matrix with TinyGL score UI

Engineering
CAVR (ATmega32U2)LED Matrix (5×7)NavswitchTinyGLMakefiledfu-programmer

Gameplay clip recorded from browser recreation of the game. (poster shown before playback).

Gameplay

You run through a cave and must react to incoming hazards. Each obstacle type requires a specific action (or set of actions) to avoid a collision. If you collide, the game ends and your score flashes indefinitely.

Obstacle rules (collision logic)

Controls

Technical highlights

Build & flash

Built with avr-gcc and flashed via dfu-programmer to an ATmega32U2.

make
make program

Play it in your browser

Faithful 5×7 recreation (smooth-rendered).