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

Allow deterministic control of random outcomes #323

Open
smallnamespace opened this issue Feb 20, 2016 · 3 comments
Open

Allow deterministic control of random outcomes #323

smallnamespace opened this issue Feb 20, 2016 · 3 comments
Assignees

Comments

@smallnamespace
Copy link
Collaborator

There are a few use cases for this:

  1. Semi-deterministic tests, where we iterate through every possible random outcome (as opposed to manually patching up the outcome, or randomly generating many outcomes, where we might miss a case)
  2. AI use cases, where the AI would like to explore random nodes in a particular direction (e.g. what's the best card I can draw? What's the best juggle/worst juggle that I can get?)
  3. Syncing with HSReplays -- import of HSReplay into the engine and evolve it through time
@synap5e
Copy link
Contributor

synap5e commented Feb 20, 2016

It may also be nice to have a probability assigned to each result node.

@smallnamespace
Copy link
Collaborator Author

Yeah that's a nice to have, might be tricky to do it in general though. I'm open to suggestions on how to go about implementing this, otherwise I'll take a good look through the code and draft something.

@smallnamespace
Copy link
Collaborator Author

Per discussion with jleclanche, would be good to think of this in the context of generalizing random outcomes into the DSL

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

2 participants