I started writing a suit combination solver recently, using uninformed search algorithm, and I'm sure I can improve it a lot by the time I finish this semester, as one of my classes is Computational Intelligence which is mostly about designing algorithms. It's not too useful if you own a copy of Deep Finesse, but perhaps it will be useful for some if they want to win an argument with a friend about a suit combination in isolation and The Encyclopedia of Bridge doesn't give a good answer.
Are you writing a bridge simulation? How many BBO'rs do this?
#22
Posted 2012-July-23, 16:57
I don't want to start a new thread or anything for this, but are there any programs out there that calculate how often a bid is made?
Mainly I'm interested in figuring out opening frequencies / mean opening rates (see here http://bridgewithdan...-collection.txt) for a couple of systems / conventions / conventional responses.
Mainly I'm interested in figuring out opening frequencies / mean opening rates (see here http://bridgewithdan...-collection.txt) for a couple of systems / conventions / conventional responses.
#23
Posted 2012-July-23, 17:34
You can do this on a normal simulation program, just write down every type of hand that can make that bid. For instance, if a 1♥ opening, you'd write down 5 hearts, 2-4 of the other suits, 11-14 HCP or 18+ HCP, and 6+ hearts, 0-6 diamonds or clubs, 0-5 spades, 11-19 hcp, etc. Now you just have to translate what you wrote into the right syntax for the program. You can also do this on the new BBO. If you are doing a Bidding table, and select deal source, you can select what sorts of hands come up (2-5 clubs, etc), and if you click the "odds" button, it tells you the odds for the hand type you selected. So if you choose 0-13 of every suit, 0-37 HCP it will say 100%.
I ♦ Transfers
#24
Posted 2012-July-23, 20:02
laststandb, on 2012-July-23, 16:57, said:
I don't want to start a new thread or anything for this, but are there any programs out there that calculate how often a bid is made?
Mainly I'm interested in figuring out opening frequencies / mean opening rates (see here http://bridgewithdan...-collection.txt) for a couple of systems / conventions / conventional responses.
Mainly I'm interested in figuring out opening frequencies / mean opening rates (see here http://bridgewithdan...-collection.txt) for a couple of systems / conventions / conventional responses.
Here is data from nearly 1 million hands played online in ACBL events on bbo. The first table shows the frequency, based on percentage, of an opening bid (nothing below 0.5% shown). The 2nd table shows all the actual number of bids for each bid, so there are the occasional opening bid of 7NT and the like.
1C 20.90% 1D 22.00% 1H 14.50% 1S 15.90% 1NT 12.50% 2C 1.90% 2D 1.60% 2H 2.20% 2S 2.30% 2NT 2.00% 3C 0.90% 3D 0.60% 3H 0.60%
1C 201683 1D 212062 1H 140541 1S 153573 1NT 120919 2C 18477 2D 15769 2H 21402 2S 22605 2NT 20086 3C 9102 3D 6383 3H 5990 3S 4303 3NT 848 4C 586 4D 679 4H 3837 4S 3125 4NT 28 5C 282 5D 323 5H 5 5S 3 5NT 8 6C 17 6D 21 6H 11 6S 19 6NT 11 7C 1 7D 0 7H 3 7S 1 7NT 3
Total "hands" 974,924
This type of data is very easy to find and extract using Bridgebrowser.
--Ben--
#26
Posted 2012-July-24, 04:58
Is there also a hand generator written in php ?
I have made a bidding database and I would like to generate some hands with constraints for bidding practice. Unfortunately, the server I use does not have the necessary libraries for dealer or deal, and only has Python 2.4 so redeal does not work either.
I have made a bidding database and I would like to generate some hands with constraints for bidding practice. Unfortunately, the server I use does not have the necessary libraries for dealer or deal, and only has Python 2.4 so redeal does not work either.
Tired of red/black ♠♥♦♣.
♠♥♦♣ For 4 suits, why not 4 colors ? ♣♦♥♠
♠♥♦♣ For 4 suits, why not 4 colors ? ♣♦♥♠
#28
Posted 2012-July-24, 07:43
Yeah, I guess I can add '?i=my_code&c=d' to the address then parse the page, but I would have liked a more direct way.
Never mind anyway, I managed to make the server ssh to another machine in order to run dealer. Very dirty way, I know.
Never mind anyway, I managed to make the server ssh to another machine in order to run dealer. Very dirty way, I know.
Tired of red/black ♠♥♦♣.
♠♥♦♣ For 4 suits, why not 4 colors ? ♣♦♥♠
♠♥♦♣ For 4 suits, why not 4 colors ? ♣♦♥♠