public void run(){
        setSizeField();
        field.initField();
        showField();
        while (!check.win(player) && var.counter < field.sizeField * field.sizeField) {
            player = Value.changePlayer(player);
            playersMove(player);
            showField();
            if (check.win(player)) messageWin(player);
            var.counter++;
        }
        if ((var.counter == (field.sizeField * field.sizeField)) && !check.win(player)) messageDraw();

        var.exit = true;

    }