Added method to get state from Game.