Hi,
I have created a score counter. Everytime I destroy an alien ship I get 100 points. I would like add in my code that every 20000 points I get an extra ship..
Can someone help me with this?
Tx!


1 2 3 4 | // in pseudo-code int pastScore = getScore(); addScore( 100 ); if (pastScore/ 20000 != getScore()/ 20000 ) addExtraShip(); |