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

Improve AI #5

Open
1 of 5 tasks
tomchen opened this issue Apr 1, 2021 · 0 comments
Open
1 of 5 tasks

Improve AI #5

tomchen opened this issue Apr 1, 2021 · 0 comments
Labels
enhancement Improvement medium priority Medium priority

Comments

@tomchen
Copy link
Member

tomchen commented Apr 1, 2021

To improve the AI, actually I think the AI is OK now, at least it's better than the original game's that's sometimes suicidal. However, there are indeed something to do, including:

  • It should be able to see how to win within 2-4 steps and do it (more strategical)
  • If it's about to win. It should chase the win. Especially resources, if res is about to reach the winning cond, it shouldn't spend it
  • If it's about to lose (player's tower or res is too high), it should priorize attacking cards (even if the card damages the AI itself, or benefits the player in terms of non-tower elements)
  • If it's about to lose (its tower is too low), it should priorize tower-adding cards (even if the card benefits the player, or damages the AI itself in terms of non-tower elements)
  • It should loop through all cards and see if a winning card exists, then use a tie card (it shouldn't see a tie card and use it immediately without seeing all cards)

See also #45 (Add AI level settings)

@tomchen tomchen created this issue from a note in ArcoMage HD To Do List (To do) Apr 1, 2021
@tomchen tomchen added enhancement Improvement medium priority Medium priority labels Apr 1, 2021
@tomchen tomchen changed the title AI level settings, improve AI Add AI level settings, improve AI Apr 1, 2021
@tomchen tomchen moved this from To do to Long-term To do in ArcoMage HD To Do List Apr 18, 2021
@tomchen tomchen changed the title Add AI level settings, improve AI Improve AI Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement medium priority Medium priority
Development

No branches or pull requests

1 participant