/** Draws the next frame, i.e. refreshes the scores and game. */ private void nextFrame() { boardPanel.repaint(); scorePanel.refresh(); }