refactored updateGameState and updateGameBoard into single updateGameInfo method