makeBoard(){
		let gameDiv = document.getElementById("gameDiv"); // Div that the game is stored in
		let resetButton = document.getElementById("resetButton"); // Get the reset button

		// If the game Div or Reset button are not found then cease making the board
		if (!gameDiv || !resetButton){ return; }

		// Create the table
		let gameBoard = document.createElement("table");
		gameBoard.setAttribute("id", "gameBoard");
		gameDiv.appendChild(gameBoard);
		for (let row = 0; row < this.boardSize; row++){
			let gameRow = document.createElement("tr");
			gameBoard.appendChild(gameRow);
			for (let col = 0; col < this.boardSize; col++){
				let gameSquare = document.createElement("td");
				gameRow.appendChild(gameSquare);
				gameSquare.setAttribute("id", row.toString() + "," + col.toString());
				gameSquare.setAttribute("class", "gamesquare unknownsquare");
			}
		}
	}
/*
     * Name: makeBoard
     * Description: Makes a table representing the Minesweeper board
     * Return: None
    */
makeBoard
Description: Makes a table representing the Minesweeper board
Return: None
makeBoard Description : Makes a table representing the Minesweeper board Return : None
makeBoard(){
		let gameDiv = document.getElementById("gameDiv"); 
		let resetButton = document.getElementById("resetButton"); 
		if (!gameDiv || !resetButton){ return; }
		let gameBoard = document.createElement("table");
		gameBoard.setAttribute("id", "gameBoard");
		gameDiv.appendChild(gameBoard);
		for (let row = 0; row < this.boardSize; row++){
			let gameRow = document.createElement("tr");
			gameBoard.appendChild(gameRow);
			for (let col = 0; col < this.boardSize; col++){
				let gameSquare = document.createElement("td");
				gameRow.appendChild(gameSquare);
				gameSquare.setAttribute("id", row.toString() + "," + col.toString());
				gameSquare.setAttribute("class", "gamesquare unknownsquare");
			}
		}
	}
makeBoard ( ) { let gameDiv = document . getElementById ( "gameDiv" ) ; let resetButton = document . getElementById ( "resetButton" ) ; if ( ! gameDiv || ! resetButton ) { return ; } let gameBoard = document . createElement ( "table" ) ; gameBoard . setAttribute ( "id" , "gameBoard" ) ; gameDiv . appendChild ( gameBoard ) ; for ( let row = 0 ; row < this . boardSize ; row ++ ) { let gameRow = document . createElement ( "tr" ) ; gameBoard . appendChild ( gameRow ) ; for ( let col = 0 ; col < this . boardSize ; col ++ ) { let gameSquare = document . createElement ( "td" ) ; gameRow . appendChild ( gameSquare ) ; gameSquare . setAttribute ( "id" , row . toString ( ) + "," + col . toString ( ) ) ; gameSquare . setAttribute ( "class" , "gamesquare unknownsquare" ) ; } } }
Name: makeBoard
 Description: Makes a table representing the Minesweeper board
 Return: None
Name : makeBoard Description : Makes a table representing the Minesweeper board Return : None
// Div that the game is stored in // Get the reset button // If the game Div or Reset button are not found then cease making the board // Create the table