Dungeons & Desktops: Building a procedurally generated roguelike with GitHub Copilot CLI
SMRTR summary
What if your codebase could fight back? A GitHub developer did exactly that, turning his entire code repository into a playable roguelike dungeon, complete with enemies, fog of war, and permadeath.
The project, called GitHub Dungeons, generates a unique dungeon map from any repository using a technique called Binary Space Partitioning, seeded by the latest commit. Change the code, change the dungeon.
What makes this more than a weekend novelty is how it was built. The developer used GitHub Copilot CLI, particularly a command called /delegate, which hands tasks off to an AI coding agent running in the cloud. "Using Copilot is like having an army of NPCs available to do whatever I want them to do," he said.
The result is something oddly poetic: every bug you've ever squashed, every commit you've ever pushed, quietly shaping the labyrinth waiting for you in your terminal.
SMRTR provides this summary for quick context. The original article belongs to GitHub Blog.
Read the original article