public BaffleBoard(int numberOfBaffles) {
		/*
		 * Initialize the board with empty values
		 */
		for (int row = 0; row < board.length; row++)
			for (int column = 0; column < board[0].length; column++)
				board[row][column] = Baffle.EMPTY;

		intGUI();

		/*
		 * Put in random baffles at random locations
		 */
		int count = 0;
		while (count < numberOfBaffles) {
			int row = RandomUtil.randInt(0, 9);
			int column = RandomUtil.randInt(0, 9);
			if (board[row][column] == Baffle.EMPTY) {
				board[row][column] = getRandomBaffle();
				count++;
			}

		}
		/*
		 * Fill the board with the guessable buttons
		 */
		for (int row = 0; row < board.length; row++)
			for (int column = 0; column < board[0].length; column++){
				buttons.add(new GuessButton(column * 10, row * 10, board[row][column]));
			}
				
		
		//Uncomment to enable cheats.
		//(Ability to see baffles)
		//drawBaffles();

	}