private void checkWin() {
        int choice;
        switch (game.isOver()) {
            case Game.CPU:
                choice = JOptionPane.showConfirmDialog(this, "The Computer Wins! Play Again?", "Loser", JOptionPane.YES_NO_OPTION);
                if (choice == JOptionPane.YES_OPTION) {
                    String name = game.getPlayerName(Game.HUMAN);
                    game = new Game();
                    game.drawAllCards();
                    game.setPlayerName(name);
                    game.drawCard(Game.HUMAN);
                    playingArea.updateTableaus();
                    regenIcons();
                } else {
                    this.dispose();
                    System.exit(0);
                }
                break;
            case Game.HUMAN:
                choice = JOptionPane.showConfirmDialog(this, "You Win! Play Again?", "Winner", JOptionPane.YES_NO_OPTION);
                if (choice == JOptionPane.YES_OPTION) {
                    String name = game.getPlayerName(Game.HUMAN);
                    game = new Game();
                    game.drawAllCards();
                    game.setPlayerName(name);
                    game.drawCard(Game.HUMAN);
                    playingArea.updateTableaus();
                    regenIcons();
                } else {
                    this.dispose();
                    System.exit(0);
                }
                break;
        }
    }