I've been learning a lot in software development in this last year, but recently I stumbled upon an iOS app called "Toca Hair Salon." For those who don't know, this app has no real goal and is geared towards younger children to encourage creativeness. When I was browsing videos of iOS applications, I found this video showing gameplay of this "game." (Sorry for posting an annoying 'let's waste your time and watch me play' video, but this shows the mechanics of the game.) So now that you know what I'm talking about, let me get to the point. I do not understand how this is coded. Just basically everything about it. I cannot imagine that using an If, doWhile, doUntil, ForNext, etc could produce the loops of this game. What determines what 'hair' goes where or disappears when a certain area is touched... I may sound confusing, ill try to explain what I'm asking better tomorrow, but if you understand what I'm asking please share. I'm just completely lost as to how this 'game' would be coded in general.