AIToday
AI Coding AssistantsGitHub Copilot BlogPublished: May 13, 2026, 01:00 JST1 min read

Lee Reilly built GitHub Dungeons, a terminal roguelike that procedurally generates levels from your codebase using GitHub Copilot CLI.

Lee Reilly built GitHub Dungeons, a terminal roguelike that procedurally generates levels from your codebase using GitHub Copilot CLI.

3 Key Points

  1. GitHub Dungeons is a CLI extension written in Go that transforms a repository into a playable roguelike dungeon. Rooms, corridors, and enemies are generated from your codebase and rendered in the terminal; navigation uses arrow keys, WASD, or Vim keys, and the goal is to find the hidden door and escape five levels.

  2. The dungeon layout is generated using Binary Space Partitioning (BSP)—a technique that recursively splits space into smaller regions, then connects them with corridors—and is seeded by the repository's latest commit SHA. This means the same codebase always produces the same map, but different repositories generate structurally distinct layouts, and the dungeon evolves as code changes.

  3. The project was built using GitHub Copilot CLI's /delegate command, which hands tasks off to Copilot's coding agent running in the cloud to work asynchronously. This approach let the developer focus on game design and player experience (including easter eggs) rather than boilerplate and edge cases.

  4. Installation is available via `gh extension install leereilly/gh-dungeons` for users with GitHub Copilot CLI already installed; features include fog of war, auto-attack, and stat tracking across five levels.

Ask the AI about this article →

GitHub Copilot BlogRead Original Article

Get the latest AI Coding Assistants news every morning

For example, today's edition would include:

  • OpenClaw 2.0 launches, targeting enterprise AI teamsVentureBeat AI · 8h ago
  • AI Coding Shifts from Prompts to Context to HarnessITmedia AI+ · 15h ago
  • Workday brings AI agents into Gmail, keeping ERP guardrailsSiliconANGLE AI · 17h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleRivian's AI-powered voice assistant rolls out to vehicle owners via software update