Computer Science Canada Cat's game won't work |
Author: | william 01 [ Tue Mar 29, 2011 1:49 pm ] |
Post subject: | Cat's game won't work |
need help to get Cat's game to work in my tic tac toe game. |
Author: | william 01 [ Tue Mar 29, 2011 1:58 pm ] | ||
Post subject: | Re: Cat's game won't work | ||
I will post the whole code when i get home, (my code is on a different computer, then the one i am using). i have it setup in a function, this how i did it:
|
Author: | apython1992 [ Tue Mar 29, 2011 2:03 pm ] |
Post subject: | RE:Cat\'s game won\'t work |
Well, where are you having your problems? Try to narrow it down a bit. |
Author: | william 01 [ Tue Mar 29, 2011 2:54 pm ] |
Post subject: | Re: Cat's game won't work |
the problem is that when the conditions should have been met it doesn't show "Cat's Game" in lblPlayer. |
Author: | Insectoid [ Tue Mar 29, 2011 5:10 pm ] |
Post subject: | RE:Cat\'s game won\'t work |
Well, there are 9 squares on a tic-tac-toe board. Therefore, the game can only be played for 9 turns. If it has been played for 9 turns, it's a cat's game. |