Magnets

Place magnets so that the clues are satisfied and avoid like poles touching.

Drag to resize the puzzle. Right-click to restore the default size.

Tip: On mobile devices, you can use a "long press" on a grid cell.

Introduction to The Magnets Puzzle

In Magnets, fill the grid with magnetic and neutral dominoes so that like poles never touch and each row and column contains the specified number of positive and negative poles.

Magnets Magnets is a clever and elegant logic puzzle for single-player brain teasers. Played on a rectangular grid divided into domino-shaped regions (each covering two adjacent cells), the goal is to place magnetic and non-magnetic tiles according to specific rules—without any two like poles repelling each other.

Each domino must be assigned either a magnet (with a positive “+” and negative “–” pole) or be left neutral (non-magnetic). If it's a magnet, the two cells are marked with opposite poles. The twist? No two adjacent cells (horizontally or vertically) may contain the same pole—so a “+” cannot touch another “+”, and likewise for “–”.

Additionally, the puzzle provides numerical clues along the top and left edges indicating how many positive and negative poles appear in each row and column. Using these constraints, players must deduce the correct configuration for every domino.

Magnets blends spatial reasoning, constraint satisfaction, and careful bookkeeping into a uniquely satisfying challenge. Every puzzle has a single, logically deducible solution—no guessing required. The game supports multiple grid sizes and difficulty levels, it's free, and runs directly in your browser with intuitive mouse controls: left-click to cycle through magnet orientations, right-click to mark a domino as neutral.

How to Play The Magnets Puzzle?

Fill each domino-shaped region with either a magnet (consisting of a + and a – pole) or a neutral domino (shown in green).

The number of + poles in each row and column must match the numbers along the top and left edges, respectively; the number of – poles must match the numbers along the bottom and right edges. Two + poles may not be orthogonally adjacent to each other—and the same applies to two – poles.

Left-click a domino to toggle it between empty and magnetic (the + pole is placed in the half you click). Right-click to cycle through: empty → neutral → a “??” mark (indicating you're certain it's a magnet but haven't yet determined its orientation).

Left-click a clue to mark it as satisfied (it will grey out). Left-click it again to unmark it.

If you're not sure how to solve it, you can use the “Solve” button to automatically fill in the puzzle.

If you're stuck, you can use the “Undo” button to go back to the previous state.