make gamestate accessible to allow saving and restoring of games