Take a look at the animation slides from a couple weeks ago, and also keep in mind the checkMouse feature. You'll likely use that quite a bit. Also while loops. Those are your friend here.
Edit: I was looking at 34, not 33, my bad.
What is question 33? I can't see it on mobile.