2 ms·
I am wondering if decision trees ever get used in game code. A quick search isn't exactly turning up an answer, though I did find a piece on decision trees on A
by Mz 12y ago
I am wondering if decision trees ever get used in game code. A quick search isn't exactly turning up an answer, though I did find a piece on decision trees on AI Horizon: http://www.aihorizon.com/essays/generalai/decision_trees.htm http://www.aihorizon.com/essays/generalai/decision_trees.htm And there is also this: http://en.wikipedia.org/wiki/Game_tree http://en.wikipedia.org/wiki/Game_tree But I am thinking more like a game like SimCity, for example. And I am not really finding an answer.
- judk 12y agoWhat would SimCity be deciding?
- Mz 12y agoTechnically, it wouldn't be SimCity. I am just wondering if a decision tree could be incorporated into a simulation style game like SimCity (or some other Sim) and, if so, how would that look, code-wise? (for example)
- mendicantB 12y agoThey do [1], but not as often as you expect. Most games don't actually use AI, as the goal is to make in game characters appear intelligent, rather than actually being so. [1] http://www.sauropodstudio.com/dev-diary-number-fifteen-ai-basics/ http://www.sauropodstudio.com/dev-diary-number-fifteen-ai-ba...
- Mz 12y agoThx!