You are the ghost. Use the arrows to move to the star and the doughnut for points. Go to the rainbow to win.
I made this project for my programming class to use as an example. Feel free to borrow anything from this project, but make sure you credit me!