Use the left and right arrow keys to go left and right. Press space to jump. Your job is to collect all the muffins while trying to avoid the ghosts.
Use this project to understand how to make something jump and how to make enemies move from side to side.