Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI框架优化(重构) #819

Open
nonameShijian opened this issue Jan 19, 2024 · 0 comments
Open

AI框架优化(重构) #819

nonameShijian opened this issue Jan 19, 2024 · 0 comments

Comments

@nonameShijian
Copy link
Collaborator

按三国杀游戏规则来说,每名角色的AI逻辑在固定模式的固定身份中是一致的。而卡牌是游戏规则中的一部分,所以,Player和Card的AI代码应该是写死的,然后通过Player的技能来拦截,修改对应的AI策略。

而技能的AI逻辑,无名杀实现的是,通过执行js代码得到一个数字,来作为进行此次选择的逻辑,这样虽然简单,但是ai因此并不能考虑其他的事情。我认为技能的AI应该是让AI懂得这个技能是什么效果,用了这个技能会有什么连锁反应。

所以,要使AI更聪明,应该将框架修改为AI推演

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant