Press the arrow keys to move.
This is almost impossible! I also lose sometimes but I can still win. If you know the trick then it will not be very hard. TIPS: Try to walk down and not jump down even when there's a gap. (For some levels only)