Wrap createGames in a promise