Skip to content
← RageBuilder

Every time a satellite packet lands, a RAM chip powers up, or a QR code is scanned, something is quietly correcting errors — flipping the wrong bits back to what was meant. Hamming codes are the classic way to do it: a few extra parity bits turn a short burst of static into a message a machine can repair on its own. Click bits to corrupt them, and watch the syndrome decode exactly where the damage is.

Live

The Shielded Block

Blue bits are your message. Gold bits are the parity the code adds. Click any bit to flip it (that simulates a transmission error), then flip it back or hit Fix to see the syndrome pinpoint the mistake. With the shield on, a single flip is always repaired perfectly.

data bit parity bit flipped / in error corrected
Decoder

What the receiver sees

Each parity bit covers a group of positions — the groups are the binary count 001, 010, 100 (which positions have that bit set). The syndrome is the XOR of the checks that fail. Read its binary value as a position number and that bit is the culprit.

Under the hood

How the shield works

01 · POSITIONING

Parity lives at powers of two

Bit positions 1, 2, 4, 8… (binary 1000, 0100, 0010) are reserved for parity. Everything else is data.

02 · COVERAGE

Each check guards a group

Check i (for bit 2ⁱ) covers every position whose binary form has bit i set. Overlapping groups are what make single errors findable.

03 · SYNDROME

Failing checks form a number

For each failing parity check, set a bit in the syndrome. The resulting binary number is the position of the corrupted bit.

04 · REPAIR

Flip it and you're done

Flip the flagged bit and every check becomes consistent again. With m parity bits, all single-bit errors are corrected.

Game

Recovery Shift

A corrupted block has just arrived and the link is timing out. Find the one bad bit and fix it before the bar empties. Consecutive clean recoveries build your streak. This is the skill every memory controller, modem, and hard drive does millions of times a second.

Score0
Streak0
Best0
Link integrity 0.0s