This sliding block puzzle is called "Hakoiri-musume" in Japanese. Move largest square to the exit. Click a side of the square that you want to move. It will move in the direction of the side you have clicked.