when you says the code goes round ? what do u mean ? is there a loop, are you using an array (if not id use one) ?

You shouldnt be falling over the logical structure of this size of game 5 buttons 1 picture sounds like the lucky number 7 game to me.......

Code examples of what youve already got would be nice