Search:

Type: Posts; User: curmudgeon

Search: Search took 0.10 seconds.

  1. Re: Noughts and Crosses/Tic Tac Toe code problem

    Look very closely at your isComplete() method, where you call it, and what *exactly* it does to the board int array.
  2. Re: Noughts and Crosses/Tic Tac Toe code problem

    And I'll suggest that you use neither. More succinct and clear than:



    if (board.isComplete() == false) {
    // ...
    }

    is to simply do:
  3. Re: Noughts and Crosses/Tic Tac Toe code problem

    This is not a constructor but rather a "pseudo-constructor":



    public void GameBoard(int firstTurn){
    //....
    }

    Note that constructors declare no return type, not void, not anything.
Results 1 to 3 of 3