public Player(int inOrder = 0, string inName = "Anonymous")
 {
     PlayDeck = new Deck();
     Count = 0;
     Name = inName;
     Order = inOrder;
 }
 public Player(int order = 0 , string name = "xxxxxx")
 {
     DeckPlayer = new Deck();
     Count = 0;
     Name = name ;
     Order = order;
 }
Beispiel #3
0
 public Player(int pOrder = 0, string pName = "Anonymous")
 {
     PlayingDeck = new Deck();
     Count = 0;
     Name = pName;
     Order = pOrder;
 }
 public Game()
 {
     deck = new Deck();
     p1 = new Player();
     p2 = new Player();
     Console.WriteLine("Enter to play");
     deck.shuffle();
     deal();
     play();
 }
Beispiel #5
0
 public static void SettingUp()
 {
     base_deck = new Deck(13, 4);
     base_deck.Shuffle();
 }
 public static void Setting()
 {
     _baseDeck = new Deck(13,4);
     _baseDeck.Shuffle();
 }
 public Player()
 {
     pdeck = new Deck();
 }
 public static void SettingUp()
 {
     Console.WriteLine("High-Low Card Game");
     Console.WriteLine("Game set up...");
     base_deck = new Deck(13, 4);
     base_deck.Shuffle();
     //base_deck.ViewCardsinDeck();
     Console.WriteLine("Game ready...");
 }