The object is to move the red block so as not to get hit by the blue blocks nor touch the sides of the black box. I got this link in an email, called the Air Force Test.
http://members.iinet.net.au/~pontipak/redsquare.html
http://members.iinet.net.au/~pontipak/redsquare.html