statico

Gbhack — Development skill for Claude Code

Development community

🎮 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).

Title screen Gameplay

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