private Trick NextCardInTrick(int pIndex, Trick currentTrick) { Console.WriteLine("Player " + (pIndex + 1) + ":"); if (CanConvertBidSuitToCardSuit(this.auction.FinalContract().Suit())) { currentTrick.AddCard(this.players[pIndex].PlayCard(currentTrick.FirstCardPlayed()), ConvertBidSuitToCardSuit(this.auction.FinalContract().Suit()), pIndex); } else { // NO TRUMP currentTrick.AddCard(this.players[pIndex].PlayCard(currentTrick.FirstCardPlayed()), pIndex); } Console.WriteLine("Player " + (pIndex + 1) + " played: " + this.players[pIndex].LastCardPlayed().ToString()); Console.WriteLine("Player " + (currentTrick.TrickWinner() + 1) + " will get the trick at the end with: " + currentTrick.WinningTrick().ToString()); return(currentTrick); }