Example #1
0
        public void StartGame()
        {
            if (Players.Count() < 2)
            {
                AddMessage("喂伙计, 玩家人数不够!");
                return;
            }
            RandomizePlayers();
            LastCard       = Card.Generate();
            _currentParser = new GamingParser();

            for (var index = 0; index < PlayerList.Count; index++)
            {
                var player = PlayerList[index];
                player.AddCardsAndSort(7);
                player.Index = index;
            }

            this.SendLastCardMessage();
        }
Example #2
0
 public Desk(string deskId)
 {
     DeskId         = deskId;
     _currentParser = new WaitingParser();
 }