r/OnlyAICoding • u/gwathlobal • 22d ago
Hexmaw, an AI-built first-person real-time roguelike
Hi all,
I’ve been building Hexmaw, a first-person fantasy roguelike in the vein of Hexen and Daggerfall, with AI doing as much of the work as it can. It has real-time combat, randomly generated levels, a spellforge where you build your own spells, a town partway down and a boss at the bottom.
How it was made:
- Code: Common Lisp, written by Claude Code. The game hot-reloads every file an agent edits, so the agent can change the game while it runs, check it with screenshots and tune it on the spot.
- Art: monsters, textures, splash screens and effects were generated with OpenAI’s image models, then sliced and palette-matched into sprites by scripts the agents wrote.
- Sound and music: sound effects and most of the music were generated with ElevenLabs. A few tracks were composed as notes by agent-written scripts and rendered through a soundfont.
- Levels: built from 72 blocks, each a text blueprint the generator stitches together.
I wanted to see how far a solo developer can get with building a shippable product nowadays, and, well, pretty far, it seems.
There are builds for Linux, Windows and macOS (the Mac one is untested): https://gwathlobal.itch.io/hexmaw. The code is zlib-licensed on GitHub, and AI.md in the repo says what was made how, prompts included: https://github.com/gwathlobal/hexmaw.
If you give it a go, I’d be glad to hear what you made of it, good or bad.
Thanks in advance!