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

Create a disableLuck url param flag #105

Open
W01fw00d opened this issue May 10, 2021 · 0 comments
Open

Create a disableLuck url param flag #105

W01fw00d opened this issue May 10, 2021 · 0 comments

Comments

@W01fw00d
Copy link
Owner

Refactor a Random module and set a flag to “disableLuck”, meaning that the output of Random will be strictly predictable.

Random will include:

  • Random decision for AI movements and similar (will always pick the first available option)
  • Random resolution of combats with similar strength units (will always favor the human)

This flag will allow to strictly test combat an AI turn (at least meanwhile AI turn decisions are completely random instead of based on algorithms).

Also, it will be useful for manual debugging.

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

No branches or pull requests

1 participant