AIToday
AI Coding AssistantsGitHub Copilot BlogPublished: May 13, 2026, 01:00 JST

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.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

GitHub Copilot BlogRead Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleHollywood actors and producers back Human Consent Standard, a new AI licensing framework that lets people set terms for use of their likeness and creative work.