Black & White Exercise #1: Pentagon

I had trouble deciding what I wanted to create after being given this prompt, because there were so many options. I decided to create “Pentagon,” a game in which a player used objects to move other objects. Screen Shot 2014-11-03 at 8.35.55 AM My game starts with five circles (in my class, I named them Ron, Hermione, Hagrid, Sirius, and Lupin) stacked on top of one another. If the player touches any of the circles, the screen pulses black and white. Touching Ron causes Hermione to move, while touching Hermione causes Hagrid to move, while touching Hagrid causes Sirius to move, and so on. The goal of Pentagon is to create the titular shape by touching circles until they line up to form the point of a pentagon, like so: Screen Shot 2014-11-03 at 8.45.06 AM This goal is simple, so I decided to make the screen pulse black and white when any circle is being touched to make the pentagon harder to form (and hence why the pentagon in the picture isn’t perfect.) Pentagon isn’t finished yet; I still want to add a win state. Right now, I’m trying to figure out how to trigger a win state when the circles line up with specific pentagonal points on the screen, but I’m having trouble making the tablet differentiate between a circle passing a point briefly (which shouldn’t trigger the win state) and a circle actually being stopped on a point. -Annie