Example #1
0
 public void Peek(Player player, Card card)
 {
     if (!card.PeekingPlayers.Contains(player))
         card.PeekingPlayers.Add(player);
     card.RevealTo(Enumerable.Repeat(player, 1));
     if (player != Player.LocalPlayer)
     {
         Program.TracePlayerEvent(player, "{0} peeks at a card ({1}).", player,
           card.Group is Table ? "on table" : "in " + card.Group.FullName);
     }
 }