
-----------------------------------
william 01
Tue Mar 29, 2011 1:49 pm

Cat's game won't work
-----------------------------------
need help to get Cat's game to work in my tic tac toe game.

-----------------------------------
william 01
Tue Mar 29, 2011 1:58 pm

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:

Private Function catsGame() As Boolean
    If Player1Won() = False or Player2won () = False Then
         Return True
         lblPlayer.Text = "Cat's Game"
   End If
End function

-----------------------------------
apython1992
Tue Mar 29, 2011 2:03 pm

RE:Cat\'s game won\'t work
-----------------------------------
Well, where are you having your problems? Try to narrow it down a bit.

-----------------------------------
william 01
Tue Mar 29, 2011 2:54 pm

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.

-----------------------------------
Insectoid
Tue Mar 29, 2011 5:10 pm

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.
