Making enemies smarter