Hi All, Thought you might find this of interest. I have released the poker programs INOT (AAAI'07 Computer Poker Competition Second Place Finisher), and Fell Omen 2 (AAAI'08 second place) under the GPL license. Let me know if you decide to port them. Have fun!
Article: http://newswise.com/articles/view/543254/ Available for download at: http://thefell.googlepages.com cheers, Ian p.s. Has anyone used/adapted/looked at the source for this bot?: http://www.cbloom.com/poker/GoldBullion.html > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Petteri Räty wrote: >> 1. The docs pokereval.py don't match the behavior of the function. >> There it says that board has a default of [] but when you try >> running the function without board it doesn't work. >> >>>>> PokerEval().poker_eval(game='holdem', pockets=[ ["tc", "ac"], >>>>> >> ["3h", "ah"]]) Traceback (most recent call last): File "<stdin>", >> line 1, in <module> File >> "/usr/lib/python2.5/site-packages/pokereval.py", line 241, in >> poker_eval result = _pokereval.poker_eval(*args, **kwargs) >> TypeError: function takes at least 3 arguments (2 given) >> >> 2. And poker_eval doesn't really seem to work in the first place or >> am I missing something? Seems to just give me ties instead of >> enumerating anything. >> >>>>> PokerEval().poker_eval(game='holdem', pockets=[ ["tc", "ac"], >>>>> >> ["3h", "ah"]],board=[],iterations=1000) {'info': (1000, 0, 1), >> 'eval': [{'winlo': 0, 'tielo': 0, 'winhi': 0, 'scoop': 0, 'loselo': >> 0, 'ev': 500, 'losehi': 0, 'tiehi': 1000}, {'winlo': 0, 'tielo': 0, >> 'winhi': 0, 'scoop': 0, 'loselo': 0, 'ev': 500, 'losehi': 0, >> 'tiehi': 1000}]} > You must add placeholders to the board for enumeration board = > ['__','__','__','__','__'] > > Check the test.py file for more examples. > > Cheers > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkiYwJgACgkQ8dLMyEl6F20IoACfQrAERSdi5X8sbwpoAkm+JPG4 > MXcAoJbJg/SxfyBFOGPuO5fQD2Nbn2PK > =oP6n > -----END PGP SIGNATURE----- > > _______________________________________________ > Pokersource-users mailing list > [email protected] > https://mail.gna.org/listinfo/pokersource-users > _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
