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.

Send on LINE
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, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

GitHub Copilot BlogRead Original Article
Send on LINE

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.

By signing up you agree to the Terms of Service and Privacy Policy.

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 articleRivian's AI-powered voice assistant rolls out to vehicle owners via software update