示例#1
0
 private void StartRound(Game game, List <Player> players)
 {
     _logic.DrawFirstCard(game);
     _logic.EvaluateFirstCard(game, game.DiscardPile.topCard);
     //If First Card drawn is Wildcard, the first player
     //chooses what color it will be.
     if (game.DiscardPile.topCard.Color == Color.WILD)
     {
         var p = players[game.Turn];
         _io.PrintTopDiscardCard(game.DiscardPile);
         _io.PrintPlayerHand(p.Hand);
         Color color = (Color)_io.ChooseWildCardColor();
         game.DiscardPile.CurrentColor = color;
     }
 }