It worked fine when I had each spot it's on string, but when I changed it into an array for other stuff in the code it stopped working. I don't get errors or anything, it just doesn't do what I'm trying to do.
First has a 50% chance of doing the first if, then a 50% chance of doing the second (25% for both at the same time, 50% for one at the time and 25% for none)
The second one has a 50% chance of doing the first if, and if that doesn't happen it does the second if.
Thanks, but that wasn't really the problem. When I press 1 or any of the other keys I have coded it doesn't put O or X it just does nothing. I probably should have been more clear about what the problem was.
try to put UpdateMove = true at the beginning of while(GameStarted) to see if types
| | | |
---------
| | | |
, if it doesn't the problem lies before that.
Does it output the
"1-9 to mark position, press enter to begin." part ?