public int openSpot(int x, int y) {
		if (usrGrid[x][y])
			return ansGrid[x][y];
		usrGrid[x][y] = true;
		--numSpacesLeft;
		theGUI.openSpot(x, y, false);
		if (ansGrid[x][y] == 9) {
			openBombs();
			if (gameState == 0)
				gameState = 2;
			else if (gameState == 1)
				return 9;
			else {
				//System.out.println("YOU LOSE!");
				theGUI.endGame(false);
			}
			return getBombValue();
		}
		if (ansGrid[x][y] == 0) {
			openSurrounding(x, y);
		}
		if (numSpacesLeft == numBombs){
			gameState = 1;
			openBombs();
			 if (!openingBombs){
				 //System.out.println("YOU WIN!");
				theGUI.endGame(true);
			 }
		}
		return ansGrid[x][y];
	}