Round nextRound = lastState.getRound().getNextRound();
if (nextRound == null) {
throw new GameEndedException(lastState);
}
// List<Pot> pots = Collections.emptyList();
NewRoundState newRoundState = new NewRoundState(lastState,
new NewRoundEvent(nextRound, new Pots(lastState
.getGamePotSize())));
PlayerState firstToAct = newRoundState
.getNextActivePlayerAfter(newRoundState.getDealer());
if (firstToAct == null
|| newRoundState.getNextActivePlayerAfter(firstToAct
.getPlayerId()) == null) {
// no one/only one left
return getNewRoundState(newRoundState);
}
return new NextPlayerState(newRoundState, new NextPlayerEvent(