Loading

Loading sources… all files

    Overview

    HEXES blends radial arcade shooting with hexadecimal arithmetic on the Game Boy Advance. Orbiting around the central Evil Hex, your goal on each stage is to transform the Center Number until it matches the Target Number (shown initially at the top of the screen and moved to the bottom-left corner). Values are displayed in two-digit hexadecimal ($00–$FF) and wrap around in both directions—stepping past 255 ($FF) wraps to 0 ($00), and stepping below 0 wraps to 255.

    The Evil Hex radiates mathematical modifiers—the operators +, -, ×, ÷, and % alongside hex operands ($1–$F). Shooting a modifier loads it into your bottom-right Modifier Slots, and once you hold both an operator and a number, pressing B applies that operation to the Center Number. Meanwhile, geometric enemies swarm out from the centre: shooting them adds bonus time to your countdown clock, and your remaining seconds at the end of each stage convert into points.

    Created in Nim with the Natu GBA library as an entry for GBA Jam 2022, HEXES features programming and art by Dania Rifki (Kaleidosium) and music and sound effects by Kathryn Hathaway (Kathound).

    Made by
    Dania Rifki, music and sound by Kathryn Hathaway
    Released
    2022

    Controls guide

    Playing

    Button and keyAction
    Left / RightOrbit your ship counter-clockwise or clockwise around the Evil Hex
    AXFire blaster inward
    BZApply your slotted operator and operand to the Center Number
    StartEnterPause or resume

    Title screen

    Button and keyAction
    StartEnterStart game

    Cheatsheet

    Enemies

    Square (blue)
    2 HP, +15 seconds; flies straight outward
    Triangle (green)
    3 HP, +15 seconds; randomly reverses direction
    Lozenge
    2 HP, +30 seconds; moves slowly and fires bullets
    Circle
    1 HP, +30 seconds; fast
    Pentagon
    2 HP, +30 seconds; spirals outward along a curve

    Time and score

    Starting clock
    5:00, reset at the start of every stage
    Timer overflow quirk
    Pushing the clock above 10:00 triggers an overflow that drops your timer to 0:10
    Colliding with an enemy
    Deducts the same number of seconds that enemy would have awarded
    Hit by enemy bullet
    -10 seconds
    Clock reaches zero
    Game Over
    Stage score
    Remaining seconds ÷ 3
    Score cap
    9,999

    Levels

    1 to 3
    + and - operators only; Lozenges debut on Stage 3
    4, 8, 12, 16
    Boss stages: the Center Number shifts automatically in a repeating cycle
    5 and 6
    Introduces × and ÷ operators
    9 to 12
    Introduces % (modulo remainder)
    13 onward
    Pentagons join the enemy waves
    16
    Final stage

    Tips

    1. Spawned operands range from $1 to $F (never zero), and shooting a new operator or operand simply overwrites whatever was previously in that slot—keep shooting modifiers until you hold a clean pair.
    2. Use 8-bit wrap-around to your advantage: because $00 underflows to $FF, subtracting from a low value like $05 is much faster than climbing all the way up to a high target like $F0.
    3. Remember that % is the modulo remainder operator, not a percentage—applying % with an operand slightly larger than your target can drop a high number straight into range.
    4. Hunting Lozenges, Circles, and Pentagons (+30s each) boosts both your safety cushion and your end-of-stage score.
    5. Never push your timer past 10 minutes: due to a quirk in the timer logic, exceeding 10:00 resets your remaining time to just 10 seconds.
    6. On boss stages (4, 8, 12, and 16), the Center Number mutates on a fixed beat—time your B press right after a shift so it doesn't change out from under your calculation.