gpt4 book ai didi

artificial-intelligence - Lode Runner 中的 AI 寻路

转载 作者:行者123 更新时间:2023-12-02 01:02:43 25 4
gpt4 key购买 nike

我正在实现 Lode Runner 的一个版本(this version),但我不确定如何重现奴才协同工作以逼迫玩家的效果,是否可以使用 A* 完成,或者是否存在更好的方法?是否有更好的 minions(例如 boids)之间的协作算法,或者最好的解决方案是简单地为每个 minions 单独应用一个算法?

最佳答案

Lode Runner Web Game

供您引用的源代码:https://github.com/SimonHung/LodeRunner
lodeRunner.guard.js:敌人的AI算法,C语言移植,Douglas E. Smith原创。

希望能帮到你!

关于artificial-intelligence - Lode Runner 中的 AI 寻路,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26599265/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com