bupticybee / TexasSolver

πŸš€ A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
https://bupticybee.github.io/texassolver_page
GNU Affero General Public License v3.0
1.69k stars 301 forks source link

Enhancement Request: include board info and hand probability into output json #53

Closed to2y closed 2 years ago

to2y commented 2 years ago

Thank you for the great solver!

I'm developing the output viewer (but still alpha...) and I would like output json include below:

bupticybee commented 2 years ago

I see, here are my plans for these problems:

  1. I will start to redesign a save format right after I finish the first GUI version, I will take your suggestion into account, as you probably already figure out, json is not suitable to save strategy in texas holdem.
  2. It's the same concept to "range number after a series actions". It can be actually calculated given initial range for both player, and strategy after. I already implement this in my GUI version, saving this to file will take some extra disk space so I still have to consider if save range number to output file is a good idea. I might end up save only the initial range instead.

My advise is that. because it will be some days before I finally solve these problems, there are ways to avoid them now:

  1. format the json file name to include board info, e.g. a output file name like xx_4h8dJh.json
  2. save initial range and strategy seperately,and when you need to show them, read them seperately, or include them in a big save file(maybe a zip file).

ps: I'm developing a GUI actually, now it looks like this:

ζˆͺ屏2021-11-01 δΈ‹εˆ2 47 41

However I still don't make the function to visulize strategy from a saved json file. So your project would be a great supplyment for this project.

to2y commented 2 years ago

thank you for your reply @bupticybee

OK, I will wait your GUI version, and until that I'm developing a viewer of output json. (Considering survived percentage is very difficult though). If viewer becomes alpha, I will open it on github.

Your GUI look great, it would be possible to show the EVs for every hand!

bupticybee commented 2 years ago

thank you for your reply @bupticybee

OK, I will wait your GUI version, and until that I'm developing a viewer of output json. (Considering survived percentage is very difficult though). If viewer becomes alpha, I will open it on github.

Your GUI look great, it would be possible to show the EVs for every hand!

Thank you very much for your effort, as I mentioned, my GUI version current don't have the ability to ready the json file generated by solver (ironically). Your viewer would be truely great news for me and this project. Looking forward to future cooperation!