Excellent! I added the code to print the resulting board back in and ran it to see that all results looked right. Printing the board with the result was a nice feature that you should have left in...
Type: Posts; User: GregBrannon
Excellent! I added the code to print the resulting board back in and ran it to see that all results looked right. Printing the board with the result was a nice feature that you should have left in...
No loops or arrays is a significant crutch handicap, but I don't see where you're doing anything wrong. I might start by assigning all of the variables to a space and then randomly changing them to...
Yes, my cursed knee-jerk reaction got the better of me. I thought about it some more. Since the players are not intelligent, it's possible to have one row or column of 'X' and another of 'Y' iff...
I've never played a game of tic-tac-toe where both players win. Do you mean a draw? Or both lose? Has political correctness changed the game?