Back to the blog

Bug Fixing: What Makes a Sorting Move Valid?

A sorting puzzle depends on predictable moves. A player should be able to understand why a bird can move to one branch and why another destination is unavailable.

The browser sorting engine keeps its move rules separate from the display. Tests exercise permitted moves and undo behaviour, while generated puzzles are checked for a balanced, solvable starting arrangement. Those checks help catch rule changes that would otherwise be hard to spot from one successful round.

This note documents the testing approach around the current Flock Sort mini-game. It does not claim that every possible device interaction or future level has been tested.

Try Flock Sort.