public long CalculateScore(int lastWinner) { if (lastWinner == 1) { return(Player1Deck.FinishingScore()); } return(Player2Deck.FinishingScore()); }
public long PlayGame() { int lastWinner = 0; while (!Finished) { lastWinner = PlayRound(); } if (lastWinner == 1) { return(Player1Deck.FinishingScore()); } return(Player2Deck.FinishingScore()); }