Added logging of game states