vendredi 30 novembre 2018

Conditional if statement or loop?

I'm new in swift and I'm trying to add a feature in a game where I want to add lives and in order to do that I want to create an if statement (or a loop) where I say that if the answer is wrong for 5 times then the game ends. What can I do? If you want you can even send me something I can study where it's explained in a clear way.

Aucun commentaire:

Enregistrer un commentaire