Turning a codebase into an 80s dungeon crawler with Copilot CLI
GitHub (with program manager Lee Reilly) shows how GitHub Copilot CLI was used to build GH-Dungeons, a terminal roguelike generated from a repository’s latest SHA, turning typical repo problems like scope creep and merge conflicts into dungeon hazards.
Turning a codebase into an 80s dungeon crawler with Copilot CLI
GitHub program manager Lee Reilly uses GitHub Copilot CLI to build GH-Dungeons: a roguelike terminal game that treats a code repository like an old-school dungeon.
What gets built
- A terminal-based roguelike called GH-Dungeons
- The game is generated based on a repository’s latest SHA
- Players battle enemies like “scope creeps” and avoid traps like “merge conflict” hazards
How Copilot is used
- GitHub Copilot CLI is used as an AI assistant to help generate the project
- The idea presented is that an AI assistant can act like an “ultimate party of NPCs” to help you build something playful quickly
Try it
Try Copilot CLI here:
Links from GitHub
- YouTube: https://gh.io/subgithub
- Blog: https://github.blog
- X: https://twitter.com/github
- LinkedIn: https://linkedin.com/company/github
- Insider newsletter: https://resources.github.com/newsletter/
- Instagram: https://www.instagram.com/github
- TikTok: https://www.tiktok.com/@github
- GitHub: https://github.com