pick a random judge to start the game

This commit is contained in:
Andy Janata 2012-01-31 00:01:52 -08:00
parent 266b2646da
commit 6ed7eb60d5
1 changed files with 2 additions and 0 deletions

View File

@ -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();