antonylee Posted June 12, 2012 Report Share Posted June 12, 2012 Thomas Andrews' Deal is, in my opinion, an excellent program, except for one thing: using Tcl as a programming language. So I tried to replace Tcl by Python, and here is the result: redeal. Please give it a try! Feedback / bug reports are welcome.(PS: the code is still way in alpha stage.) Quote Link to comment Share on other sites More sharing options...
Mbodell Posted June 12, 2012 Report Share Posted June 12, 2012 Thomas Andrews' Deal is, in my opinion, an excellent program, except for one thing: using Tcl as a programming language. So I tried to replace Tcl by Python, and here is the result: redeal. Please give it a try! Feedback / bug reports are welcome.(PS: the code is still way in alpha stage.) Looks interesting. I agree that deal is a great program - and I agree that Tcl is a little odd. I think it would be easiest for people to make the move if there were sample programs of the same sample programs that Andrews' has, and also if there were some statistics that shows that stacked hand dealing is both accurate and quick. Comparing the number of hands attempted and the speed of the two programs for some normal hands and some long tail (double void hands, gambling 3nt hands, etc.) would be helpful. Quote Link to comment Share on other sites More sharing options...
antonylee Posted June 12, 2012 Author Report Share Posted June 12, 2012 I shamelessly copied examples 1-5 from Deal (as well as defvector, losers, etc.) in today's version. There is no smartstack dealing yet (it is in my todo list), so redeal is much slower than deal on rare hands. I haven't added statistics tests yet either. Quote Link to comment Share on other sites More sharing options...
antonylee Posted June 13, 2012 Author Report Share Posted June 13, 2012 More documentation in as well. Quote Link to comment Share on other sites More sharing options...
han Posted June 13, 2012 Report Share Posted June 13, 2012 Great project, we need more good dealer programs. Quote Link to comment Share on other sites More sharing options...
antonylee Posted June 18, 2012 Author Report Share Posted June 18, 2012 Smartstacking is in, as well as the ability to do most scripting directly from the command line (if you like that and are not scared by long lambda forms). A quick comparison on the same "Gambling 3NT" example as the one given by Deal gives similar statistics :-) Quote Link to comment Share on other sites More sharing options...
bluecalm Posted June 18, 2012 Report Share Posted June 18, 2012 Great, that may push me to finally start writing my analysis tools :)As to dd solvers I was using this: http://www.bcalc.w8.pl/API_C/index.html and wrote a wrapper in Python for it back in the day it didn't have API (by inputting/reading human readable output and invoking it via popen). I had an impression that it's very fast comparing to other programs but I didn't seriously benchmark anything. If the human readable output format didn't change it should still work. You can find it on my repo: https://github.com/OneTrickPony82/Bridge-Tools in bridgetools file. There are Python functions to calculate minimax, best lead etc. included. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.