GBHack

Clicking Start downloads the game from Homebrew Hub (raw.githubusercontent.com). This game isn't hosted on wasmga.me.

Loading sources… all files

    Overview

    GBHack is a roguelike dungeon crawler for the Game Boy Color inspired by NetHack. Accompanied by a loyal kitten or puppy, you descend through 15 procedurally generated floors of rooms, corridors, and shops, claim the Amulet of Yendor on floor 15, and fight your way all the way back to the surface. Permadeath is in effect, potions and scrolls carry randomized labels on every run until identified, and managing your hunger clock is essential to survival.

    Created by Ian Langworth (statico) and released in April 2026, GBHack was written in C with GBDK alongside Claude Code, featuring tiles adapted from Kenney's asset packs and music by Beatscribe and Tronimal (Yoki).

    Made by
    Ian Langworth (statico)
    Released
    2026

    Controls guide

    In the dungeon

    Button and keyAction
    D-padArrowsStep one tile orthogonally; walk into a monster to attack, a closed door to open it, or your pet to swap positions
    BZ + D-padArrowsMove diagonally (hold B and press two directions)
    BZPick up an item on your current tile, or wait one turn if the tile is empty
    AXOpen the action menu: Inventory, Eat, Quaff, Read, Zap, Rest, Pick up, Drop, Save+Quit
    StartEnterOpen character sheet (level, HP, AC, strength, XP, gold, dungeon depth, hunger, and equipped gear)
    SelectShiftOpen system menu (Help, View Messages, music/SFX toggles, and Save+Quit)

    Menus and screens

    Button and keyAction
    Up / DownMove menu cursor
    AXConfirm selection
    BZCancel or close menu
    StartEnterSkip credits, advance past the title screen, or return to the title after Game Over

    Cheatsheet

    Getting around

    Stairs
    Step onto a staircase and confirm Yes to ascend or descend (floors are regenerated fresh on every visit)
    Level 15
    The deepest floor—contains no downward stairs and holds the Amulet of Yendor
    Winning
    Carry the Amulet of Yendor up the ascending stairs on Level 1 (the surface exit remains sealed without it)
    Saving
    Autosaves every 50 turns and when you select Save+Quit; dying permanently deletes your save
    Score
    Total XP + gold collected, plus a 5,000-point bonus for ascending with the Amulet

    Food

    Hunger
    Start at 900 nutrition; resting burns 1 per turn, moving or fighting burns 2 (Hungry < 300, Weak < 150, Fainting < 50, Starved at 0)
    Ration
    +800 nutrition
    Tin
    +300 nutrition
    Apple
    +200 nutrition
    Corpse
    +100 nutrition (dropped randomly by slain monsters)
    Booze
    Potion that also restores +50 nutrition
    Floor spawns
    Every generated floor is guaranteed to spawn at least one ration or apple, one piece of armor, and one gold pile

    Monsters with a trick

    Snake, giant spider
    Venomous bites inflict bonus poison damage
    Wraith, vampire
    Drain 1 maximum HP on every hit
    Nymph
    Steals 5–20 gold and teleports away
    Imp
    Frequently blinks to a random tile after striking
    Troll
    Regenerates 1 HP every turn
    Acid blob, floating eye
    Passive unless attacked
    Out-of-depth spawns
    Monsters rated up to 2 floors deeper than your current depth can spawn

    Items

    Healing potion
    Restores 4–14 HP
    Poison potion
    Deals up to 6 damage and drains 1 Strength
    Scroll of teleport
    Teleports you to a random room on the current floor
    Scroll of fire
    Damages all adjacent monsters
    Scroll of remove curse
    Uncurses all carried items
    Scroll of identify
    Reveals the true identity of one item in your pack
    Cursed gear
    Cursed weapons and armor cannot be unequipped until uncursed
    Pickaxe
    Wield from your inventory and walk into rock walls to dig tunnels (has limited durability)

    Pets and shops

    Pet
    Fights alongside you and eats corpses; must be within 2 tiles of you when you take the stairs to follow you
    Feral pet
    Leaving your pet more than 15 tiles away for 50 turns causes it to go feral and turn hostile
    Shop
    Picking up shop merchandise adds its price to your tab; dropping it back inside clears the charge
    Selling
    Dropping your own items inside a shop sells them immediately for 50% of their value
    Shoplifting
    Walking out of a shop with an unpaid tab turns the shopkeeper hostile

    Tips

    1. Waiting in place with B burns half as much nutrition per turn as walking—use it to regenerate HP safely when rooms are clear.
    2. Quaffing an unidentified potion permanently labels that potion colour for the rest of the run. Only test unknown potions at full health in case it turns out to be poison.
    3. Equip better armor as soon as you find it: every floor guarantees at least one armor piece, and lower AC directly reduces enemy hit rates.
    4. Always wait for your pet to step within two tiles of the staircase before ascending or descending, or it will be permanently left behind.
    5. Sell duplicate weapons and armor in shops to convert clutter into gold, which boosts both your purchasing power and final score.
    6. Because dungeon floors are generated fresh every time you use the stairs, ascending from floor 15 with the Amulet requires locating the up-stairs across 14 brand-new maps—save plenty of rations for the climb back.