Mirror Duel
game · 2026A mech game in C where the thing you fight at the bottom of the shaft has been watching how you play.
Problem
Most roguelike bosses are a script with extra health. I wanted something that actually picks up your habits: when you dash, when you panic-swap an arm.
What I built
No engine. C11 and raylib. You build a frame in the garage, drop down a nine-node shaft, and between fights a tiny network copies your inputs. By the end you're fighting a version of yourself. Linux and Windows builds.
Highlights
- Written in C11 + raylib, no Unity/Godot
- Ten-slot garage, hard-swap arms mid-fight
- Rival learns from your inputs between rounds
- Nine-node Descent, Linux AppImage + Windows zip
mirror-duel/stack.toml
# mirror-duel - mech roguelike
lang = "c11"
gfx = "raylib 5.5"
brain = "small mlp, imitation between rounds"
loop = "descent, 9 nodes, prime draft"
build = "make, appimage, windows cross"
- C11
- raylib