A card game generator