nbl
public java v1 · immutable for(int k = 0; k <thePlayers.size(); k++) { int[] playerRoll = new int[thePlayers.size()]; playerRoll[k] = theDice.roll(); while(isTie(k, thePlayers) { playerRoll[k] = theDice.roll(); } }.......................private boolean isTie(int playerIndex, ArrayList players) { for(int i=0; i < players.size(); i++) {}