Added Shiva's code in CreateGameAndInvite class