adding the game state
latest version of typescript definitions, manual changes to get it to code hint properly.