![]() Get game information and take actions through intuitive attributes. The following is a quick summary of what's in the package. replay_history ( path ) # replay history Overview export_history ( './pgns' ) # save history gui. from import TexasHoldEm from _gui import TextGUI game = TexasHoldEm ( buyin = 500, big_blind = 5, small_blind = 2, max_players = 6 ) gui = TextGUI ( game = game ) while game. Play a game from the command line and take turns for every player out of the box. The package is available on pypi and can be installed with pip install texasholdemįor the latest experimental version pip install texasholdem -pre We welcome any developer who enjoys the package enough to contribute! Please message me at you want to be added as a contributor and check out the Want a new feature, found a bug, or have questions? Feel free to add to our issue board on Github! Added available actions printing in the TextGUI.Or you can also use copy() method which will construct a copy of the game state. It will give you another TexasHoldEm with the exact game state. You can do a simple deepcopy() or copy() of a TexasHoldEm object. Ability to create a copy of the TexasHoldEm object.Compliance with World Series of Poker Official Rules.Export & import human-readable game history.A python package for Texas Hold 'Em Poker providing: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |