Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using Medallion;
- namespace ListShuffler
- {
- class Program
- {
- static void Main(string[] args)
- {
- var cards = new List<string>
- {
- "Plains",
- "Plains",
- "Plains",
- "Plains",
- "Plains",
- "Plains",
- "Plains",
- "Plains",
- "Mountain",
- "Mountain",
- "Mountain",
- "Mountain",
- "Mountain",
- "Mountain",
- "Mountain",
- "Swamp",
- "Unlicensed Disintegration",
- "Embraal Gear-smasher",
- "Aethergeode Miner",
- "Audacious Infiltrator",
- "Caught in the Brights",
- "Chandra's Revolution",
- "Shock",
- "Dawnfeather Eagle",
- "Aether Chaser",
- "Freejam Regen",
- "Wayward Giant",
- "Quicksmith Rebel",
- "Aether Chaser",
- "Sweatworks Brawler",
- "Sweatworks Brawler",
- "Chandra, Torch of Defiance",
- "Scrapper Champion",
- "Renegade Freighter",
- "Heart of Kiran",
- "Implement of Combustion",
- "Aviary Mechanic",
- "Fragmentize",
- "Fairgrounds Warden",
- "Depala, Pilot Exemplar"
- };
- var counter = 1;
- foreach (var card in cards)
- {
- Console.Write(card);
- counter++;
- if (counter > 7)
- {
- break;
- }
- Console.Write(", ");
- }
- Console.WriteLine(string.Empty);
- cards.Shuffle();
- counter = 1;
- foreach (var card in cards)
- {
- Console.Write(card);
- counter++;
- if (counter > 7)
- {
- break;
- }
- Console.Write(", ");
- }
- Console.WriteLine(string.Empty);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement