From: Loic D. <lo...@gn...> - 2006-01-17 15:07:50
|
Patrik Kullman writes: > > Hello there! > > I was thinking about writing an odds calculator, and started from > scratch until I found your libraries. > > Now I wonder, is there support for, or maybe already an existing > application, that can evalutate odds for different hands and winner > percentage based on only one hand? > Yes. You will find a function that can help you in that respect this in pypoker-engine. > > >From a user perspective.. > > > > Example: > > Players: 5 > > Cards: AK 9C > > Flop: 7C QC AS > > > > One pair: 100% > > Two pairs: 40% > > etc.... > > Win: ....% > The function will give chances to win or tie. It will not break this down to "One Pair", "Two Pair" etc. You could change the function to extract this information. > > Thanks in advance! > > /Patrik -- Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38 http://www.fsffrance.org/ http://www.dachary.org/loic/gpg.txt |