You play Mario. PRESS THE FLAG TWICE TO REDUCE GLITCHING Left arrow to move left. Right arrow to move right. Try to avoid the coconuts which are the brown balls that can fall on you. If the timer runs out and you are still alive, you won. If you get hit before the timer runs out, you lose.
Thanks to TallyShenanigans for 90% of the code