So I've been doing a minesweeper game and managed to get to the point where I can play the game fully, but now I am trying to set it out so that when a player makes a choice and the the square is not a mine, it shows how many spaces the player is from a mine around the chosen square.