public void move () {
        char[][] gridCopy = game.getGrid();

        if (enemySymbol == Grid.DEFAULT_CHAR)
            setEnemySymbol(gridCopy);

        if (haveVerticalLine(gridCopy, symbolForGame)) {
            return;
        }
        else if (haveHorizontalLine(gridCopy, symbolForGame)) {
            return;
        }
        else if (haveDiagonalLine(gridCopy, symbolForGame)) {
            return;
        }
        else if (haveHorizontalLine(gridCopy, enemySymbol)) {
            return;
        }
        else if (haveDiagonalLine(gridCopy, enemySymbol)) {
            return;
        }
        else if (haveVerticalLine(gridCopy, enemySymbol)) {
            return;
        }
        else {
            Random rand = new Random();
            boolean isMove = true;
            do {
                try {
                    isMove = game.setChar(symbolForGame, rand.nextInt(gridCopy.length), rand.nextInt(gridCopy.length));
                }
                catch (Exception e) {
                    isMove = false;
                    continue;
                }
            } while (!isMove);


        }
    }