Use the arrow keys to move around, and see what happens when you hit the edge.
I know, I know, this is really bad, but it's my first project. Feel free to copy it and use it for something better!