I am trying to make a very basic console game of rock paper scissors. I'm not sure how to go about using && in Swift 2.0. I want to basically say:
if (computerChoice == rock && userChoice == paper) {
print("User wins")
}
Aucun commentaire:
Enregistrer un commentaire