2425262728293031
scores = new ArrayList<Integer>(); for ( Snake player : players ) { scores.add(0); } scoreBoard = new ScoreBoard(players); window.addToControlPanel(scoreBoard); }