public static void main(String[] args) {
        boolean gameIsRunning = true;

        startTheGame();

        while (gameIsRunning){
            currentXorO = arrayXorO[counter % 2];
            System.out.println("Ваш ход, " + currentXorO + "\nВведите ряд:");
            int x = new Scanner(System.in).nextInt();
            System.out.println("Введите столбец:");
            int y = new Scanner(System.in).nextInt();

            if (field.checkBeforeMove(x, y))
                continue;

            field.move(x, y);
            System.out.println(field);
            if (counter > 3){
                if (field.checkWinner(x, y)){
                    System.out.println("ИГРОК " + currentXorO + " ПОБЕДИЛ! ПОЗДРАВЛЯЮ!");
                    gameIsRunning = newGamePrompt();
                    continue;
                }
            }
            counter++;
            if (counter == 9){
                System.out.println("Ничья!");
                gameIsRunning = newGamePrompt();
            }
        }
    }