The term “automation” is actually a misnomer. A common problem with automated systems is that they are often designed to do exactly what they’re being programmed to do. To be able to program and run a system that is not actually the end goal, you have to ask, what is the end goal? When you have a goal, however, it becomes a different question.
In other words, when you have a goal, your system isn’t able to do anything until you have done it. And the same goes for a system that does not actually do what it’s supposed to do. For example, the game’s AI doesn’t actually do anything until you have done it, but when you have done it, the system is able to do what it’s supposed to do.