Game code help

I’m trying to get my ship to move in a circular motion around the heart. As of now it spins in a circle(Our instructor did this). Also, I seem to be having trouble creating power ups. I don’t really know where to begin. Same goes for a life counter.

Side note: Some of the coding is from my instructor. We are to make a type of “space invaders” game. I decided to make one in which the germs attack the heart from all sides and you have to move in a circular motion to protect it. The due date for this is April 29.