// returns true if a move for the current color can be made, false otherwise public boolean hasMove() { board = this.getBoard(); color = this.getColor(); // initialize to false boolean hasMove = false; // call the hasMove method of the specific board we are playing with if (board.hasMove(color)) hasMove = true; return hasMove; }