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

Add AI level settings #45

Closed
2 tasks done
tomchen opened this issue Sep 25, 2021 · 0 comments
Closed
2 tasks done

Add AI level settings #45

tomchen opened this issue Sep 25, 2021 · 0 comments
Labels
enhancement Improvement, likely to do & usually with higher priority than "idea" medium priority Medium priority

Comments

@tomchen
Copy link
Member

tomchen commented Sep 25, 2021

  • AI level settings
  • AI level-related string i18n

Algorithm: https://github.com/arcomage/arcomage-hd/tree/main/tools/ai-related/weightedRandom

May need some unit tests for completeness in the future

@tomchen tomchen mentioned this issue Sep 25, 2021
5 tasks
@tomchen tomchen changed the title For AI level settings, I put the algorithm copied from Stackoverflow here https://github.com/arcomage/arcomage-hd/tree/main/tools/ai-related/weightedRandom I'll use this weightedRandom to make the AI dumber and not always make the best decision. Add AI level settings Sep 25, 2021
@tomchen tomchen added enhancement Improvement, likely to do & usually with higher priority than "idea" medium priority Medium priority labels Sep 25, 2021
tomchen added a commit that referenced this issue Sep 26, 2021
tomchen added a commit that referenced this issue Sep 26, 2021
some random function & type
@tomchen tomchen closed this as completed Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement, likely to do & usually with higher priority than "idea" medium priority Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant