4 ms·
Interesting. Although going over an abstract representation harms the performance in a RTS game. I finally chose Nau's HTN planner to plan entire villages in a
by noiv 12y ago
Interesting. Although going over an abstract representation harms the performance in a RTS game. I finally chose Nau's HTN planner to plan entire villages in a few milliseconds. The core in JavaScript fits on one screen page:
https://github.com/agentx-cgn/Hannibal/blob/master/source/simulation/ai/hannibal/htn-planner.js#L112 https://github.com/agentx-cgn/Hannibal/blob/master/source/si...