BBO Discussion Forums: Are you writing a bridge simulation? - BBO Discussion Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Are you writing a bridge simulation? How many BBO'rs do this?

#21 User is offline   Quantumcat 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 944
  • Joined: 2007-April-11
  • Gender:Female
  • Location:Bathurst, Australia
  • Interests:Archery, classical guitar, piano, watercolour painting, programming, french

Posted 2012-July-23, 01:35

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.
I Transfers
0

#22 User is offline   laststandb 

  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 2011-May-08

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.
0

#23 User is offline   Quantumcat 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 944
  • Joined: 2007-April-11
  • Gender:Female
  • Location:Bathurst, Australia
  • Interests:Archery, classical guitar, piano, watercolour painting, programming, french

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
0

#24 User is offline   inquiry 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 14,566
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Amelia Island, FL
  • Interests:Bridge, what else?

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.


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--

#25 User is offline   Zelandakh 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,696
  • Joined: 2006-May-18
  • Gender:Not Telling

Posted 2012-July-24, 03:13

 laststandb, on 2012-July-23, 16:57, said:

Mainly I'm interested in figuring out opening frequencies / mean opening rates.

Something like was done for this?
(-: Zel :-)
0

#26 User is offline   jbaptistec 

  • PipPip
  • Group: Members
  • Posts: 42
  • Joined: 2011-August-11
  • Gender:Male
  • Location:France
  • Interests:Other card and board games, theoretical computer science (complexity and games theory)

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.
Tired of red/black ♠♥♦♣.
For 4 suits, why not 4 colors ?
0

#27 User is offline   uday 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,808
  • Joined: 2003-January-15
  • Gender:Male
  • Location:USA

Posted 2012-July-24, 06:18

Web front end to 'dealer'

http://www.bridgebas...aler/dealer.php
0

#28 User is offline   jbaptistec 

  • PipPip
  • Group: Members
  • Posts: 42
  • Joined: 2011-August-11
  • Gender:Male
  • Location:France
  • Interests:Other card and board games, theoretical computer science (complexity and games theory)

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.
Tired of red/black ♠♥♦♣.
For 4 suits, why not 4 colors ?
0

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users