public boolean win(Value sign) {
        Boolean win = false;
        if (sign != Value.empty) {
            for (int pointer = 0; pointer < EngineField.sizeField; pointer++) {
                if (checkColumn(pointer, sign)) win = checkColumn(pointer, sign);
                if (checkLine(pointer, sign)) win = checkLine(pointer, sign);
            }
            for (int pointer = 0; pointer < 2; pointer++) {
                if (checkDiag(pointer, sign)) win = checkDiag(pointer, sign);
            }
        }
        return win;
    }