added getGame function