Calculates the users input and, the boards, row and columns to be displayed to the player.