src/Game/Model/Board.java
/**
     * Resets the state of the board to the start of the game
     */
Resets the state of the board to the start of the game
Resets the state of the board to the start of the game
public void resetBoard(){
        for(int i = 0; i < 8; i++){
            for(int k = 0; k < 8; k++){
                if(i % 2 == 0 && k % 2 == 0) {
                    spaces[i][k] = new Spot(i, k, null, 0);
                }
                else{
                    spaces[i][k] = new Spot(i, k, null, 1);
                }
            }
        }
    }
public void resetBoard ( ) { for ( int i = 0 ; i < 8 ; i ++ ) { for ( int k = 0 ; k < 8 ; k ++ ) { if ( i % 2 == 0 && k % 2 == 0 ) { spaces [ i ] [ k ] = new Spot ( i , k , null , 0 ) ; } else { spaces [ i ] [ k ] = new Spot ( i , k , null , 1 ) ; } } } }
Resets the state of the board to the start of the game
Resets the state of the board to the start of the game
//Creates a blank board //Adds the pieces to the board //TODO