Odds and Evens Competition
AmyScarbrough (0)

I'm a newbie at code and I'll I've done is play around on apps and the Playgrounds. I thought I'd try my hand at making a quick "Odds or Evens" game. Basically, the two players get a randomly generated 1 or 2. If they're the same number (making the result even) one player wins, else the other player wins. My one player is winning every time and I can't figure out why! This is probably really simple but I haven't figured it out yet.

You are viewing a single comment. View All
mattdoan (14)

@AmyScarbrough Nope, even coders with experience make simple mistakes as well; it's just the debugging that gets easier! :)

(Speaking only from personal experience)