8000 Optimize troop positioning before battle for AI · Issue #5908 · ihhub/fheroes2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Optimize troop positioning before battle for AI #5908

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

Open
1 task done
ihhub opened this issue Sep 30, 2022 · 0 comments
Open
1 task done

Optimize troop positioning before battle for AI #5908

ihhub opened this issue Sep 30, 2022 · 0 comments
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
Milestone

Comments

@ihhub
Copy link
Owner
ihhub commented Sep 30, 2022

Preliminary checks

Describe the problem requiring a solution

AI heroes does not always have most optimal positioning of their troops prior battles against neutral monsters. This is a video when a hero should have put Genies before Boars to have less losses against Grand Elves:

fheroes2.engine.version_.0.9.19.2022-09-30.23-45-45.mp4

Describe the possible solution

It could be that OptimizeTroopsOrder() method has errors in its logic as we suppose to have Genies going first. Also this method should have an overloaded variant when the type of opposing army is known like in case of neutrals.

Additional info

No response

@ihhub ihhub added improvement New feature, request or improvement AI Artificial intelligence behaviour labels Sep 30, 2022
@ihhub ihhub added this to the 0.9.21 milestone Sep 30, 2022
@ihhub ihhub assigned ihhub and unassigned ihhub Oct 7, 2022
@ihhub ihhub modified the milestones: 0.9.21, 1.0 Nov 12, 2022
@ihhub ihhub modified the milestones: 1.0, 1.0.1 Dec 20, 2022
@ihhub ihhub modified the milestones: 1.0.1, 1.0.2 Feb 8, 2023
@ihhub ihhub modified the milestones: 1.0.2, 1.0.3 Mar 12, 2023
@ihhub ihhub modified the milestones: 1.0.3, 1.0.4 Apr 11, 2023
@ihhub ihhub modified the milestones: 1.0.4, 1.0.5 May 13, 2023
@ihhub ihhub modified the milestones: 1.0.5, 1.0.6 Jun 14, 2023
@ihhub ihhub modified the milestones: 1.0.6, 1.0.7 Jul 15, 2023
@ihhub ihhub modified the milestones: 1.0.7, 1.0.8 Aug 14, 2023
@ihhub ihhub modified the milestones: 1.0.8, 1.0.9 Sep 11, 2023
@ihhub ihhub modified the milestones: 1.0.9, 1.1.0 Oct 11, 2023
@ihhub ihhub modified the milestones: 1.1.0, 1.1.1 May 22, 2024
@ihhub ihhub removed this from the 1.1.1 milestone Jul 13, 2024
@ihhub ihhub added this to the 1.1.2 milestone Jul 13, 2024
@ihhub ihhub modified the milestones: 1.1.2, 1.1.3 Sep 15, 2024
@ihhub ihhub modified the milestones: 1.1.3, 1.1.4 Oct 23, 2024
@ihhub ihhub modified the milestones: 1.1.4, 1.1.5 Nov 27, 2024
@ihhub ihhub modified the milestones: 1.1.5, 1.1.6 Dec 30, 2024
@ihhub ihhub modified the milestones: 1.1.6, 1.1.7 Feb 16, 2025
@ihhub ihhub modified the milestones: 1.1.7, 1.1.8 Mar 23, 2025
@ihhub ihhub modified the milestones: 1.1.8, 1.1.9 May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
38B6 Projects
None yet
Development

No branches or pull requests

1 participant
0