That's cool. Yeah you would only ever use a while statement if you want a lot of different things to happen in one step.
May I ask what the game is you're working on?