Bitwise XOR Logic ยท 5 Brain Levels

Concept

What is XOR Jigsaw?

XOR Jigsaw is a minimalist spatial deduction puzzle rooted in computer science and boolean algebra. Unlike traditional jigsaw puzzles where pieces interlock physically without overlapping, XOR Jigsaw encourages intentional overlap: whenever two solid black tiles intersect, they cancel out into white.

Each level presents a target grid pre-populated with black and white cells, alongside a tray of polyomino shapes on the left. Your objective is not merely to cover the board, but to manipulate the overlapping parity until every single cell turns solid black.

Mathematics

The XOR Bitwise Parity Rule

In computer architecture, the Exclusive OR (XOR, symbolized as โŠ•) operator outputs true if and only if the inputs differ. When mapped to a visual grid, each tile follows this parity equation:

Initial White Tile (0) โŠ• Placed Shape (1) โ†’ Black (1)
Initial Black Tile (1) โŠ• Placed Shape (1) โ†’ White (0)
White Tile โŠ• Two Overlapping Shapes (1 โŠ• 1) โ†’ White (0)

Because XOR is both commutative and associative (A โŠ• B = B โŠ• A), the sequence in which you place your shapes does not matter. The final color of any coordinate depends exclusively on the total number of times that cell was toggled: odd toggles result in black; even toggles result in white.

Interface

Controls & Keyboard Shortcuts

Designed for desktop precision and mobile ergonomics, XOR Jigsaw supports seamless mouse dragging, touch-lift offsets, and tactile hotkeys:

Drag & Drop

Drag shapes from the tray to the grid. On touch devices, shapes automatically lift above your fingertip so the grid remains clearly visible.

Z Key / UNDO

Step backwards through your placement history. Useful when experimenting with multi-piece cancellations.

R Key / RESET

Instantly return all pieces back to the left tray and restore the puzzle's original state.

H Key / HINT

Consumes a hint token to smoothly animate an unplaced or misplaced shape directly into its mathematically unique winning spot.

Strategy

Corner Heuristics & Dead-End Pruning

1. Isolate the Boundary Corners: Cells on the corner of the grid can only be covered by a tiny subset of piece coordinates. If a corner starts white, you must place an odd number of shapes over it. Check which pieces have matching corner geometries to drastically narrow your opening move.

2. Parity Counting: Count the total number of white cells currently on the board. Each piece you place contains a fixed number of cells. If a piece cannot flip the net parity closer to all-black, consider whether it must be doubled up with a companion piece.

3. The Negative Space Trick: Sometimes the easiest way to solve Level 4 or Level 5 is to look for the single piece that "reverses" a large block, turning an intimidating scatter of white dots into a compact shape that matches your remaining tray items.

FAQ

Frequently Asked Questions

Do I have to use every single shape?

No. You are only required to make every tile on the board black. If you can solve the board leaving one or more pieces in the tray, it is a fully valid solution.

Are there unique solutions for each puzzle?

Yes. Every level is validated with an internal automated solver to ensure a clean, mathematically sound win condition without unsolvable deadlocks.

Does progress save across sessions?

Yes. Your unlocked levels and earned hint tokens are stored directly in your browser's local cache so you can return and continue anytime.