using System.Collections.Generic;
public static class Players
public static Queue<Tuple<string, int, string>> player1;
public static Queue<Tuple<string, int, string>> player2;
public static Queue<Tuple<string, int, string>> player3;
public static Queue<Tuple<string, int, string>> player4;
Console.Write("Amount of players (max. 4): ");
amount = Int32.Parse(Console.ReadLine());
if (amount > 4){Players.Add();}
for (int x = 1; x <= amount ; x++)
player4 = new Queue<Tuple<string, int, string>>();
player3 = new Queue<Tuple<string, int, string>>();
player2 = new Queue<Tuple<string, int, string>>();
player1 = new Queue<Tuple<string, int, string>>();
private static Random rng = new Random();
public static List<Tuple<string, int, string>> createClassic()
Console.Write("\nAmount of decks:");
int deckAmount = Int32.Parse(Console.ReadLine());
var sDeck = new List<Tuple<string, int, string>>();
for (int x = 1; x <= 4; x++)
sDeck.Add(new Tuple<string, int, string>("A", 14, curSuit));
sDeck.Add(new Tuple<string, int, string>("2", 2, curSuit));
sDeck.Add(new Tuple<string, int, string>("3", 3, curSuit));
sDeck.Add(new Tuple<string, int, string>("4", 4, curSuit));
sDeck.Add(new Tuple<string, int, string>("5", 5, curSuit));
sDeck.Add(new Tuple<string, int, string>("6", 6, curSuit));
sDeck.Add(new Tuple<string, int, string>("7", 7, curSuit));
sDeck.Add(new Tuple<string, int, string>("8", 8, curSuit));
sDeck.Add(new Tuple<string, int, string>("9", 9, curSuit));
sDeck.Add(new Tuple<string, int, string>("10", 10, curSuit));
sDeck.Add(new Tuple<string, int, string>("J", 11, curSuit));
sDeck.Add(new Tuple<string, int, string>("Q", 12, curSuit));
sDeck.Add(new Tuple<string, int, string>("K", 13, curSuit));
public static void Shuffle<T>(this IList<T> list)
public static class Program
public static Queue<Tuple<string, int, string>> GetNext(int p)
public static void Main()
var deck = Deck.createClassic();
for (int x = 1; x <= deck.Count - 1; x++)
Players.player4.Enqueue(deck[x]);
Players.player3.Enqueue(deck[x]);
Players.player2.Enqueue(deck[x]);
Players.player1.Enqueue(deck[x]);