Look very closely at your isComplete() method, where you call it, and what *exactly* it does to the board int array.
Type: Posts; User: curmudgeon
Look very closely at your isComplete() method, where you call it, and what *exactly* it does to the board int array.
And I'll suggest that you use neither. More succinct and clear than:
if (board.isComplete() == false) {
// ...
}
is to simply do:
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.