Work in progress. Use the arrow keys to move. Collect the apples. You have 3 lives. Again, this is a work in progress. If the level number goes negative, just reset. If you want to use a moving platform, don't move when you are on it until it stops.
Credit to griffpatch for the code/tutoral.