Steps to reproduce: 1, Keep exactly one game record in gameboard. 2, Run main game. 3, Click Scores and close the popped up window. 4, Click Scores again. Actual output: The one record is presented twice after clicking Scores the second time. Expected output: The one record is presented exactly once after clicking Scores the second time.
The problem is solved by resetting the ArrayList in the scoreboard. Please try the updated version!!