Hello,
I’m trying to create code so when a user presses a button, X’s and O’s appear.
The x’s and o’s should work in a pattern of x, xo, xox up to 16 x’s and o’s.
I have created the button and I would like to use a for loop and an if, else statement.
I kind of understand how the for loop works but how would I use the if… else statement to do this?
Please see code in a reply below!
Thanks so much! Any help would be really really great.