Bit Bang

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

Loading sources… all files

    Overview

    Bit Bang is a number-manipulation puzzle game where each stage gives you a target in decimal and asks you to construct it in binary using four operations: increment, decrement, shift left (doubling the value), and shift right (halving it, rounded down). Standard Mode gives you only enough moves for the shortest possible solution, while Assist Mode removes the move limit and displays your current value in decimal.

    You press buttons by floating a small ghost cursor over them. Across 64 puzzles, the game starts with 2- and 4-bit targets, expands to 8-bit numbers, and switches to 16-bit numbers for the back half. StudioGuma (now Bit Bang Games) built it in 2024 using GBDK 2020, GBTD, GBMB, and hUGETracker, inspired by a video on binary counting.

    Made by
    StudioGuma
    Released
    2024

    Controls guide

    Playing

    Button and keyAction
    D-padArrowsMove the ghost cursor around the screen
    AXPress the button under the ghost (hold to repeat)
    BZRestart the current puzzle, or advance to the next stage after clearing one
    StartEnterToggle music
    SelectShiftToggle sound effects

    Title screen

    Button and keyAction
    AXStart Standard Mode
    BZStart Assist Mode

    Cheatsheet

    Buttons

    + (top left)
    Increment by 1
    - (bottom left)
    Decrement by 1; underflowing below 0 wraps around to all ones
    << (top right)
    Bitwise shift left (doubles the value and drops the highest bit)
    >> (bottom right)
    Bitwise shift right (halves the value, rounding down)

    The screen

    Top row
    Current puzzle number, shown in binary
    Hearts
    Remaining moves; each operation costs one heart, and the stage resets if you run out
    Middle
    Your current binary value, using dots for 0 and bars for 1
    Make
    The target number in decimal
    Shifts on zero
    Shifting while the value is 0 has no effect and costs no hearts

    Tips

    1. In Standard Mode you are given the exact number of hearts needed for an optimal solution, so a single wasted operation forces a restart. Work backward from the decimal target before making your first move.
    2. To build any number from left to right in binary, press + for the leading 1, then for each remaining bit press << to shift left and add + whenever that bit should be 1.
    3. Targets with many 1 bits are faster to reach by underflowing: pressing - at 0 wraps every bit to 1 (255 in 8-bit stages, 65535 in 16-bit stages), after which << clears low bits from the right.
    4. Make sure the ghost is inside a button's frame before pressing A. Holding A triggers the button roughly five times per second—convenient in Assist Mode, but risky when moves are limited.
    5. After clearing the final stage, pressing A on + or - changes the stage selector at the top of the screen and B launches that level, letting you replay any puzzle.