Added functions to the game logic that allow the user to get heuristic information about the game state.