pick a random judge to start the game
This commit is contained in:
parent
266b2646da
commit
6ed7eb60d5
|
@ -346,6 +346,8 @@ public class Game {
|
|||
}
|
||||
synchronized (players) {
|
||||
if (players.size() >= 3) {
|
||||
// Pick a random start judge, though the "next" judge will actually go first.
|
||||
judgeIndex = (int) (Math.random() * players.size());
|
||||
blackDeck = new BlackDeck();
|
||||
whiteDeck = new WhiteDeck();
|
||||
startNextRound();
|
||||
|
|
Loading…
Reference in New Issue