Arrow keys to move around. Get to right to complete a level. If you got stuck at an edge, just jump out.
Thanks to griffpatch for the Platformer Tutorial. No advertising. This was rather a small project.