Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Dungeons & Desktops: Building a procedurally generated roguelike with GitHub Copilot CLI

Blog post from GitHub

Post Details
Company
Date Published
Author
Lee Reilly
Word Count
1,444
Language
English
Hacker News Points
-
Summary

Lee Reilly's experiment with the GitHub Copilot CLI led to the creation of GitHub Dungeons, a roguelike game that transforms a codebase into a dungeon using procedural generation. This project, designed as a GitHub CLI extension in Go, utilizes Binary Space Partitioning (BSP) to generate dynamic and unique dungeons based on the latest commit of a repository. Each playthrough is different, with the game featuring permadeath, where players navigate through rooms and corridors, combat bugs, and aim to find the exit. Reilly leveraged GitHub Copilot CLI's capabilities to describe desired features and delegate tasks, allowing for efficient development and focus on enhancing the gaming experience. The project showcases how procedural generation can create structured yet variable environments, making use of Copilot for heavy lifting while maintaining an emphasis on player enjoyment and creativity.