The goal of the game is to get all squares in the correct position. When a square is in the right spot, it turns green. The squares increase in order from left to right then top to bottom. So the top left should be 1, and the bottom right should be 16. The clock will stop when this happens.