GitHub engineer Lee Reilly built a terminal roguelike from your Git repository using GitHub Copilot CLI and a single /yolo command. The tool, called GitHub Dungeons, is a Go-based gh extension that reads your latest commit SHA, seeds a Binary Space Partitioning algorithm with it, and renders a playable dungeon in your terminal. Same commit, same map. New commit, new layout. HP hits zero, you start over.

The build process is the actual story here. Reilly used Copilot CLI's /delegate command to hand off discrete features to GitHub's cloud-based coding agent, including progressive difficulty scaling and invincibility cheat codes, each returning as a reviewable pull request. He also prompted a custom dungeon-scribe agent to generate ASCII art documentation explaining the BSP generation logic. He wrote the game in Go, a language he does not normally use, and leaned on Copilot to handle syntax while he focused on game design decisions.

The full post covers how BSP dungeon generation actually works, how /delegate differs from inline code generation, and the specific prompts Reilly used to shape enemy density and level balance. If you want a concrete, end-to-end example of agentic coding workflow producing something testable and weird, this is worth reading in full.

[READ ORIGINAL →]