Board.java
/*
     * Description: resets three fields of the Board object to their initial values
     * when the game is first created or after the game is reset after reaching a 
     * game over condition. Then (re)calls the Board's draw method to draw the game.
     * Input: N/A, called on a Board object.
     * Output: N/A, no explicit outputs, just changes fields of the Board object and
     * calls draw() to draw the game.
     */
resets three fields of the Board object to their initial values
when the game is first created or after the game is reset after reaching a
game over condition. Then (re)calls the Board's draw method to draw the game.
Input: N/A, called on a Board object.
Output: N/A, no explicit outputs, just changes fields of the Board object and
calls draw() to draw the game.
resets three fields of the Board object to their initial values when the game is first created or after the game is reset after reaching a game over condition . Then ( re ) calls the Board ' s draw method to draw the game . Input : N / A called on a Board object . Output : N / A no explicit outputs just changes fields of the Board object and calls draw () to draw the game .
public void newGame() {
        this.first = true;
        this.lost = false;
        this.won = false;
        this.draw();
    }
public void newGame ( ) { this . first = true ; this . lost = false ; this . won = false ; this . draw ( ) ; }
Description: resets three fields of the Board object to their initial values
 when the game is first created or after the game is reset after reaching a
 game over condition.
Description : resets three fields of the Board object to their initial values when the game is first created or after the game is reset after reaching a game over condition .
// reset conditions for start of game
