AI works unless the desired move is not easy

If the desired move can't be easily found it doesn't do anything.