added JOptionPane.showConfirmDialog - to continue or exit the game