private boolean winMessageShown;
public GraphicalApplication(Game game) {
this.game = game;
this.gamePanel = new GamePanel(game);
this.newGamePanel = new NewGamePanel();
super.setTitle("FreeCell");
super.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
super.setSize(DIMENSION);
super.setResizable(false);
super.setVisible(true);