Use up and down arrow keys to move. Hit the falling cubes to stop them from hitting the side.
I made this on the offline editor a while ago back when i was still experimenting with the random number generator.