Legal movement and goal
Select a tile directly above, below, left, or right of the empty space. That tile slides into the gap. The goal is reading order from 1 through 15 with the empty space in the lower-right corner; diagonal moves and arbitrary swaps are not legal.