public void newGame() {
        firstStart = true;
        desk = new Desk();
        final Ball ball = new Ball(desk);
        if (botChoosed == 0) {
            bot = new DeskBot(ball);
        } else {
            bot = new DeskBotHard(ball);
        }
        ball.setBotDesk(bot);
        BufferedImage tempReadBg = null;
        try {
            tempReadBg = ImageIO.read(new File("img/game_bg.jpg"));
        } catch (IOException e) {
            e.printStackTrace();
        }
        final BufferedImage bg = tempReadBg;
        timer = new java.util.Timer();
        TimerTask task = new TimerTask() {
            public void run() {
                if (!isPaused) {
                    temp = new BufferedImage(500, 700, BufferedImage.TYPE_INT_RGB);
                    Graphics2D tempGraphics = (Graphics2D) temp.getGraphics();
                    tempGraphics.drawImage(bg, 0, 0, null);
                    ball.move();
                    ball.draw(tempGraphics);
                    desk.draw(tempGraphics);
                    bot.draw(tempGraphics);
                    tempGraphics.setFont(new Font("Arial", Font.BOLD, 30));
                    tempGraphics.setColor(Color.white);
                    tempGraphics.drawString("You " + scoreYou + " : " + scoreBot + " Bot", 150, 30);
                    if (ball.checkLose() == 1) {
                        scoreBot += 1;
                        timer.cancel();
                        newGame();
                    } else if (ball.checkLose() == 2) {
                        scoreYou += 1;
                        timer.cancel();
                        newGame();
                    }
                    table.getGraphics().drawImage(temp, 0, 0, null);
                    if (firstStart) {
                        try {
                            Thread.sleep(300);
                            firstStart = false;
                        } catch (InterruptedException e) {
                            e.printStackTrace();
                        }
                    }
                }
            }
        };
        timer.schedule(task, 0, 10);
    }