}
int cardsDealt = roundId;
Bid bid = bid(trump, lead, cardsDealt, round);
if(go.getBidType().equals(BidType.HIDDEN)) {
for(IndividualBid individualBid :bid.getBids()) {
gameEventNotifier.notify(new PlayerBidEvent(individualBid.getPlayer().getId(), individualBid.getBid()));
round.setBid(individualBid.getPlayer().getId(), individualBid.getBid());
}
}
RoundSummary roundSummary = new RoundSummary();
for (int i = 0; i < roundId; i++) {
TrickTracker trickTracker = playTrick(trump, lead, round);
roundSummary.addTrickTracker(trickTracker);
int playerIdWhoWon = trickTracker.winningPlay().getPlayerId();
lead = findPlayerIndex(playerIdWhoWon);
}
if(go.getBidType().equals(BidType.SECRET)) {
for(IndividualBid individualBid :bid.getBids()) {
gameEventNotifier.notify(new PlayerBidEvent(individualBid.getPlayer().getId(), individualBid.getBid()));
round.setBid(individualBid.getPlayer().getId(), individualBid.getBid());
}
}
scoreRound(roundSummary, bid, _game);
this.overallScores.displayScore();