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

Serialize and Deserialize solve configurations to/from JSON #14

Open
bkushigian opened this issue Oct 8, 2024 · 0 comments
Open

Serialize and Deserialize solve configurations to/from JSON #14

bkushigian opened this issue Oct 8, 2024 · 0 comments

Comments

@bkushigian
Copy link
Owner

A postflop game is built from a CardConfig and an ActionTree. An ActionTree is built from a TreeConfig, a vec of added Lines, and a vec of removed Lines (Lines are just &[Action]).

We should make it easy to write tree/card configurations in JSON and serialize/deserialize these. Thus, if I wanted to invoke the solver from cli I can pass in the configurations from a JSON file.

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

No branches or pull requests

1 participant