ASI AppsWrite

Games and exercises

PsyGames

Flood: logic puzzle rules

Flood puzzle rules: repaint the growing corner region one colour at a time and make the whole board a single colour within the move limit.

What is Flood?

Flood is a colour puzzle with one growing blob. The board is a grid of coloured squares. In the top-left corner sits a region of one colour, and every move repaints that region in a new colour. Whenever the new colour matches the squares around it, they join the blob, and the region gets bigger. The aim is to swallow the whole board before you run out of moves. It is one of the logic puzzles in PsyGames based on the open Simon Tatham’s Portable Puzzle Collection (MIT licence), where it carries the same name.

This page covers the rules of the Flood puzzle, the tap control, a tiny worked example and ways to use fewer moves.

The goal and the rules

You start with a grid of squares coloured at random in several colours. In each move you choose a colour, and the region that contains the top-left square is filled with it. That region is made of all the squares reachable from the corner by an orthogonally connected path of squares of the corner’s current colour. Orthogonal means up, down, left and right; squares that touch only at a corner are not connected.

After the repaint, any neighbours of the new colour merge into the region. So with every move the blob grows, and the board gets simpler. You win when the entire grid is one colour, and you have to do it within the move limit shown by the game.

Two details of the original puzzle are worth knowing:

  • the limit comes from the game’s own solver, which solves the board and adds a number of extra moves that sets the difficulty; with zero extra moves you must match the solver;
  • the board uses at least three colours, because with only two colours there would be just one legal move at every stage and no choice to make.

How to play Flood in PsyGames

You play with taps. The app tells you to tap a square of the colour you want. You can tap any square on the board that already has the colour you want to paint with, and the corner region becomes that colour. The app description puts the task as flooding the whole board with a single colour inside the move limit. In the original puzzle, tapping a square that has the same colour as the corner changes nothing and is not counted as a move.

A worked example

Take the smallest possible board, two squares by two, with these colours: top-left red, top-right blue, bottom-left blue, bottom-right red.

The corner region is just the red square at the top left. Tap a blue square. The corner turns blue and instantly touches the two other blue squares, so the blob now has three squares. Only the bottom-right square is still red. Tap it and the blob turns red, taking in the last square. The board is one colour in two moves.

Notice the alternative. If you had wanted red first, nothing would have happened, because the corner is already red. The only useful first move was blue. In bigger boards the same question appears every turn: which colour touches the corner region and swallows the most?

Solving tips and common mistakes

  1. Look at the border of the blob, not at the whole board. Only colours that touch the blob can add squares, so count how many squares each neighbouring colour would bring in.
  2. Greed is a good start but not a plan. Taking the biggest neighbour now can leave a scattered rest. When two options look equal, choose the one that opens more new colours next to you.
  3. Remove colours completely. A colour that has only one patch left is an easy target. Once it is absorbed, the board has one colour fewer, and every later move is simpler.
  4. Keep an eye on how many colours remain. When only two are left, one of them is the blob and every move is forced, so the end of the game is a matter of counting taps, not choosing.
  5. Do not tap the corner’s own colour. It wastes your attention, and in the original puzzle it adds nothing.
  6. Watch the counter. The limit can be tight, because it is built from the game’s own solution. If you are behind, restart with a better first move rather than hoping the end will fix it.
  7. Beating the limit is possible. The original solver is not guaranteed to find the shortest solution, so it is sometimes possible to finish in fewer moves than allowed.

How Flood differs from similar puzzles

Same Game also uses coloured squares, but there you remove a group, the board collapses, and you pick which group to take. Here nothing is removed: one fixed region repaints and spreads from the corner. Map Colouring is about colours too, though it asks you to assign them so that touching regions differ, which is the opposite of what Flood rewards.

Flood in PsyGames

The app lists the Flood puzzle in its Sorting hub. Browse the other puzzles on the all games page.

Frequently asked questions

What is the goal of the Flood puzzle?

To make every square on the board the same colour in no more moves than the limit allows. You win the moment the whole grid is one colour within that limit.

Which square changes colour when I tap?

Always the region around the top-left corner. Every square connected to that corner by same-coloured neighbours is repainted in the colour of the square you tapped.

Does tapping the colour that the corner already has use a move?

In the original puzzle it has no effect and does not count as a move. It is still a wasted action, so look for a tap that changes something.

How is the move limit set?

In the original, the game runs its own solver on each grid and builds the limit from the length of that solution, plus an optional number of extra moves that makes the puzzle easier.

More logic puzzles

All games

PsyGames: Brain Training

Learn more: PsyGames