Search:

Type: Posts; User: Norm

Search: Search took 0.47 seconds.

  1. Replies
    7
    Views
    608

    [SOLVED] Re: Checking for draw in TicTacToe

    It forced you to rewrite the isBoardFull method.
    I see that more changes were made than just the global variables.
    What happens now when the code is executed?
    If there are problems, copy the...
  2. Replies
    7
    Views
    608

    [SOLVED] Re: Checking for draw in TicTacToe

    There is a basic problem in the code using the global variables: row and col. These variables should NOT be global. By global I mean at the class level. Their values are dependent on the context...
  3. Replies
    7
    Views
    608

    [SOLVED] Re: Checking for draw in TicTacToe

    Time for some debugging to see what the code is doing. Add some print statements inside the loop that print out the values of i and j and the contents of the board at i and j.
Results 1 to 3 of 3