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

Cool work. Do you plan to support large games, such as Texas Hold'em? #5

Closed
KK666-AI opened this issue Aug 28, 2019 · 8 comments
Closed

Comments

@KK666-AI
Copy link

FYI

@lanctot
Copy link
Collaborator

lanctot commented Aug 28, 2019

Thanks! I would say that Chess, Go, and Backgammon are large :)

Actually, we currently have a Swift implementation of Texas Hold'em in the works.

There is nothing preventing large imperfect information games, in general, though. We just didn't have anyone (other than Brennan!) volunteer to write any. A C++ Texas Hold'em implementation would be very welcome!

@lanctot lanctot closed this as completed Aug 28, 2019
@lanctot lanctot reopened this Aug 28, 2019
@KK666-AI
Copy link
Author

wow, that's great. I plan to use this toolbox and do some experiments.

Writing Texas Hold'em solver in pure C/C++ needs a lot of effort. Looking forward.

@lanctot
Copy link
Collaborator

lanctot commented Aug 28, 2019

True. I am hoping someone already has one they are willing to adapt and share.

Perhaps our good friend Noam Brown? ;-)

@KK666-AI
Copy link
Author

Yes, Noam Brown implemented Texas Hold'em solver in pure C/C++. I meet him in IJCAI 2019.

It can imagine there are a lot of codes in his solver. Reimplementation of such difficult game needs a lot time.

@Kailianghu
Copy link

Cool work !The ACPC code ([http://www.computerpokercompetition.org/downloads/code/competition_server/project_acpc_server_v1.0.42.tar.bz2]) is pretty good for poker engine

@saeta
Copy link
Contributor

saeta commented Aug 30, 2019

Hey all!

Thank you very much for your interest in OpenSpiel. I lead the Swift for TensorFlow project in Google Brain and collaborated with @lanctot and many others across both Brain and DeepMind to help make OpenSpiel. When I saw the recent research results coming out using Texas Hold'em, I built a game implementation for OpenSpiel. Unfortunately, I had some edge cases in the game engine that we discovered late, so we held it back from the initial release. Earlier this week, I fixed it up and so @lanctot has now open sourced it at https://github.com/deepmind/open_spiel/blob/master/swift/Sources/OpenSpiel/TexasHoldem.swift (I also spent some time last night and optimized the game engine a bit, dropping the time to play a round from 8.4 usec down to 4.7 usec.) :-)

I and others will be discussing the design of the Swift OpenSpiel port at the Swift for TensorFlow Open Design Review this Friday (tomorrow). Please do join if you're able and ask us questions! (A recording will be made and posted later.) To get the invite, join swift@tensorflow.org.

All the best,
-Brennan

@dennisjay
Copy link
Contributor

Hi all!

I have an implementation of a Poker gameengine based on the ACPC-Server with a very similar API to open_spiel.

I think I'll be able to contribute it as a pull request.

Are there any style guidelines and rules for contribution? How can I contact you in case of questions?

Geetings,
DJ

@dennisjay
Copy link
Contributor

Now implemeted an adapter for my previous code and made everything compile. Game unit tests are running, but no observations and information sets.

Code is incubating here
https://github.com/dennisjay/open_spiel/tree/feature/universal_poker_game

Feedback and contributions welcome :-)

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

5 participants