About how to load subgame of Libratus
Atan03 opened this issue · comments
Hi, I am currently working on experiments for my algorithm and intend to test it on the subgame of Libratus mentioned in 1. I have noticed that the universal_poker has some interfaces related to the subgame.txt definition, but I am having trouble figuring out how to load it using the pyspiel module. Could you provide some instructions on how to use the pyspiel module, perhaps something like pyspiel.load_game("universal_poker(...)")?
I apologize for not thoroughly reading the entire C++ source code; your assistance would be greatly appreciated!
Footnotes
-
Solving Imperfect-Information Games via Discounted Regret Minimization ↩
Hi @Atan03,
Ok so there are some examples of how to use those subgames here:
My guess is this was never exposed to Python.. yeah doesn't look like it. You'd just need to expose those functions under python/pybind11. There are docs explaining how to do that here: https://github.com/google-deepmind/open_spiel/blob/master/docs/developer_guide.md#adding-game-specific-functionality
I've not used this much and hasn't been used in a while so maybe @michalsustr can follow up if you have more specific questions about that functionality.
Your response has been really helpful! This is something I haven't tried before, and I will follow your guidance to give it a shot. I'll provide feedback here once I have results.