defined random_ids and random_duel. random_duel now returns a duel with pictures