I meant to simply write an algorithm in an abstract way. A step-by-step instruction on what and how to do. This is not difficult for a skilled player.
To write an algorithm, you need an algorithmic understanding of the development of actions and tactics and strategy – this skill is very rare... maybe only a few out of a thousand or more possess it.
Developing skills in intuitive behavior on the map, without realizing "why I did exactly that!" – anyone can do that.
Let's say, among the current players present on the forum, this skill might be possessed by Vik and me. I don't have the skills or desire to develop online gaming skills. But Vik could be "challenged"... he seems like a motivated person.
In any case, writing such an algorithm is a huge task that requires a lot of time and dedication from the performer.