Press space to begin/retry. Move the red square with the left and right arrow keys. Do not hit the brown boxes.
Slight inspiration from a level in the World's Hardest Game 2