Gbhack — Development skill for Claude Code
🎮 A NetHack-inspired roguelike dungeon crawler for the Game Boy Color, written in C with GBDK and generated with Claude Code.
How to install Gbhack
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open statico/gbhack and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gbhack does
🎮 A NetHack-inspired roguelike dungeon crawler for the Game Boy Color, written in C with GBDK and generated with Claude Code.
Alternatives in Development
- Autoresearch — Claude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code 2.5k ★
- Boss Zhipin Scraper — Boss直聘爬虫 / BOSS直聘职位数据抓取工具,基于 Chrome CDP 协议复用真实登录态,绕过字体反爬,输出明文薪资 JSON/CSV + 薪资技能分析 1.5k ★
- Claude On Rails — A development framework for Ruby on Rails developers using Claude Code, inspired by SuperClaude 779 ★
README
GBHack
A roguelike dungeon crawler for the Game Boy Color, inspired by NetHack. Written in C using GBDK (Game Boy Development Kit) and generated with [Claude Code](https://claude.ai/code).
Overview
GBHack adapts the core loop of NetHack to the constraints of the Game Boy Color: procedurally generated dungeons, permadeath, unidentified items, hunger mechanics, pets, shops, and the Amulet of Yendor as the ultimate goal. The game runs on original GBC hardware as well as any accurate emulator.
Building
Prerequisites
Download the [GBDK](https://github.com/gbdk-2020/gbdk-2020) toolchain and extract it so that a `gbdk/` directory sits alongside the `gbhack/` project directory (i.e. `../gbdk/` relative to this repo root). The Makefile expects to find `bin/lcc` and `bin/png2asset` inside that directory.
Tested with GBDK 4.3.0 on macOS (ARM64). Other platforms supported by GBDK should work with no changes.
Build
make
This produces `build/gbhack.gbc`, a 256 KB ROM suitable for any Game Boy Color emulator or flash cart. The ROM uses MBC5 with battery-backed SRAM (32 KB across 4 banks).
Run
make run
Opens the ROM in [SameBoy](https://sameboy.github.io/) on macOS. Substitute your preferred emulator if needed.
Clean
make clean
Gameplay
You descend through 15 procedurally generated dungeon levels. Each level contains rooms connected by corridors, with doors, traps, fountains, altars, and shops scattered throughout. Your goal is to reach the bottom, retrieve the Amulet of Yendor, and escape back to the surface.
Controls
| Button | Action |
|---|---|
| D-pad | Move (8 directions with diagonals via B+D-pad) |
| A | Action menu (eat, quaff, read, zap, pick up, drop, wait, save) |
| B | Context action (pick up item on ground, or rest) |
| START | C |
Related Skills
Sonic Md Gbc
A W.I.P. vibe-port at half-scale of Sonic 1 from Sega Genesis to Nintendo Game Boy, Generated using Arena and
Crystal Quest Gg
A W.I.P. colourised Sega Game Gear vibe-port conversion of the 1991 Game Boy version of Crystal Quest. Generat
Sm64 Gba
Super Mario 64's movement and collision code on the Game Boy Advance, bit-exact with the original, plus a play
Chipvoice
The sound chips of the old machines, emulated to the cycle and measured against the hardware, in a browser and
Square Doom Sms
A W.I.P. vibe-port of Steve McCrea's Commodore 64 SquareDoom (6502 assembly) to the Sega Master System, writte
Wolf 3D Md
A W.I.P. vibe-port of id Software's Wolfenstein 3D (shareware v1.4) to the Sega Genesis, written in C for SGDK
Related Agents
Boardroom Garyvee
Boardroom seat inspired by Gary Vaynerchuk's public thinking — owns "Where is the attention, and does this bui
Context Analyst David
Analyze given Bible verses from the Psalms, written by David, and provide a comprehensive understanding of the
Fe Design Expert
Use for design system review, typography audit, color palette evaluation, motion design, and AI-generated desi