Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
1 / 11
0

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

The GitHub Blog·Lee Reilly·20 days ago
#T8L0NIkm
Reading 0:00
15s threshold

I got nerd-sniped into the GitHub Copilot CLI Challenge and made a questionable decision: I turned my codebase into a roguelike dungeon. It started with a simple prompt: Build a GitHub CLI extension in Go that takes the current repository and turns it into a playable roguelike dungeon, with dungeons generated with BSP [snip] . And then /yolo . The result is GitHub Dungeons, a terminal game that generates a dungeon from your codebase. Rooms, corridors, and enemies, all built from your repo and rendered right in your terminal. You navigate with arrow keys, fight bugs, and hunt for the exit. Every repository produces a different map. Every commit reshapes the layout. And if your HP hits zero, you start over. 💡 Fun fact: /yolo (“you only live once”) is a Copilot CLI command (an alias for /allow-all ). Fitting, since roguelikes are built around permadeath. You really do only get one life.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More