Sokoban is a puzzle video game where the player pushes boxes around, trying to get them to specific locations. The game was designed in 1981 by Hiroyuki Imabayashi, and first published in December 1982.
This example shows a how to push multiple objects in a row, and how to check if the player has won.
Check out the YouTube video
explaining how this example was made.