

Black Hole Square
Black Hole Square by Quinten is a js13k 2021 SPACE-themed puzzle: clean up every other square in the universe by tapping — and watch what the black hole does with them. Minimal, mischievous, and featured on the GitHub Blog's best-of list.
Black Hole Square is a puzzle game with a single instruction: clean up all the other squares. Its build carries eighteen named puzzles in the free sequence, a second list that adds bonus puzzles behind a support gate, and swipe controls that replace a mouse entirely.
The build states the objective as a single line: clean up all the other squares. There is no score, no timer and no star rating in the readable strings. A puzzle is either clean or not, and the feedback strings confirm that binary: Clean versus Not clean, with Out of moves and Stuck as the two failure states.
That economy is why the puzzles can be named rather than numbered. When the only state is clean or not, the level name is the whole identity of a puzzle, and the build uses names like click, push, move and tango instead of level one, two and three.
A Wrong way message exists beside the failure states, which means a move can be illegal as well as unproductive. The game tells the difference between a move that does nothing and a move it will not accept.
The free sequence is stored as an ordered list, and the order is the difficulty curve. It opens with titlescreen and startscreen as teaching steps, then moves through click, wait, push and move, and closes on snare, sink, support and an ad beat.
| Order | Puzzle names |
|---|---|
| 1 to 4 | titlescreen, startscreen, click, wait |
| 5 to 8 | push, move, tango, substitute |
| 9 to 12 | wander, double, conflict, extract |
| 13 to 18 | grab, twin, snare, sink, support, ad |
The names read as a description of the mechanics rather than as flavour. A puzzle called push is about pushing, one called twin introduces a second square of the same kind, and one called sink is about something falling. That is a design where the level name is the hint.
The first two entries are not puzzles at all: titlescreen and startscreen are the teaching step, and the welcome text sits on them. The sequence ends on an ad beat, which is the only place the build interrupts play. Between those two ends sit sixteen actual puzzles.
A second list holds twenty two entries, including the four after the free sequence ends: ty, snatch, swivel, turmoil, plus an ending beat. The build explains the gate in plain text: the next three puzzles are only for supporters, unlocked through Web Monetization.
This is a browser monetisation model rather than a paywall in the store sense. A supporter unlocks three puzzles and gets a thank you screen, and the rest of the game is unaffected. For a puzzle game with eighteen free levels, that is the whole business model.
The build also carries a skip option. Swipe left is documented as skip a puzzle, which matters in a game with a hard failure state: a player who is stuck on snare can move on rather than quit. The bonus set is a reward for finishing, and the skip is the valve that keeps a stuck player in the game.
The control strings are all gestures: swipe left to start, swipe left to skip a puzzle, swipe right to reset a puzzle, and swipe left for bonus puzzles. There is no click instruction in the puzzle itself, which is why the game works the same on a phone and on a desktop trackpad.
A reset is bound to the opposite direction from a skip, which is a deliberate pairing: a player who misfires to the right resets, and a player who misfires to the left skips. Both are recoverable, and neither ends the session.
The build also handles touch start, move and end separately, so a swipe is measured rather than inferred from a tap. That is why a small drag does not accidentally skip a puzzle.
The object names describe the vocabulary: a black hole, a neutron star, an x square, a mask, a tunnel, a grid, a blanksquare and a pointer. Those names are the puzzle’s nouns, and each one exists as its own asset with its own drawing module.
The presence of a state machine module and a position module beside them is the architectural tell: each piece has a position and a state, and the puzzle is a small state machine over those pieces. That is why a level can be reset instantly and why the failure states are one line each.
The puzzle layouts are not readable. The level list gives names and order, but the grid and the starting positions are built by the puzzle modules at runtime rather than stored as readable data, so a specific board cannot be described here.
There is also no readable move limit per puzzle, even though Out of moves is a failure state. The limit is computed rather than declared, so this guide states the rule and the vocabulary and stops before inventing the boards.
Clean up all the other squares. It is the only objective the build states, and there is no score or timer.
Eighteen in the free sequence, plus a bonus list that adds three puzzles behind a support gate.
By swiping. Swipe left starts or skips, swipe right resets a puzzle. There is no click control inside the puzzle.
The game shows Out of moves or Stuck, and you can skip the puzzle with a left swipe.
Through Web Monetization support. The build says the next three puzzles are only for supporters.
Yes. A Wrong way message exists separately from the failure states, so the game rejects some moves rather than only wasting them.
A black hole, a neutron star, an x square, a mask, a tunnel, a grid and a blank square, each with its own module.





