Added dictionary functions to the game class