BBO Discussion Forums: web based deal generator - BBO Discussion Forums

Jump to content

  • 2 Pages +
  • 1
  • 2

web based deal generator

#21 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2009-April-03, 07:24

uday, I love you so much

*adds to bookmarks*
0

#22 User is offline   Ant590 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 749
  • Joined: 2005-July-17
  • Gender:Male
  • Location:Melbourne, Australia

Posted 2009-April-03, 08:17

Oh, I didn't know this tread existed. I have just but a question involving dealer in the BBO support forum (http://forums.bridge...showtopic=31248).

I don't think one thread for the entire topic is appropriate as the replies, comments and criticisms to programs will all become muddled together.

A new forum group is needed IMHO. Or a Wiki. Or both.
0

#23 User is offline   Ant590 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 749
  • Joined: 2005-July-17
  • Gender:Male
  • Location:Melbourne, Australia

Posted 2009-April-03, 08:19

Another option would be to merge it with the FD systems forum, which has become dormant.
0

#24 User is offline   bidule4 

  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 2007-January-28

Posted 2009-April-03, 08:45

uday, on Apr 2 2009, 09:36 AM, said:

We have a web based tool for generating hands. It is a front end to "Dealer" by Hans van Staveren and others

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


You'll need to read the docs. Dealer is quite powerful. I'm open to suggestions for improving the web utility.

One suggestion:

add a printlin function

(this should probably in the dealer program)

yvan
yvan calame
0

#25 User is offline   bidule4 

  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 2007-January-28

Posted 2009-April-03, 10:59

bidule4, on Apr 3 2009, 09:45 AM, said:

add a printlin function

(this should probably in the dealer program)

The code shoul be something like:

printf ("qx|o"%d"|md|%d", board+1, (board+2)%4+1);
for (player=COMPASS_NORTH; player<=COMPASS_WEST; player++) {
for (suit = SUIT_SPADE; suit>= SUIT_CLUB; suit--) {
printf ("SHDC"[suit]);
for (rank=12; rank >= 0; rank--) {
if (HAS_CARD(d, player, MAKECARD(suit,rank))) {
printf ("%c", representation[rank]);
}
}
}
if (player < COMPASS_WEST) {printf (",");}
}
printf ("\n");

(didnt test, dont have a C compiler handy)
yvan calame
0

#26 User is offline   babalu1997 

  • Duchess of Malaprop
  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 721
  • Joined: 2006-March-09
  • Gender:Not Telling
  • Interests:i am not interested

Posted 2009-April-03, 14:50

eyhung, on Apr 2 2009, 05:39 PM, said:

Personally, I think a Wiki-style area would be best where we could upload scripts for people to share and download. I have around 20-30 scripts I wrote for Dealer several years ago that I'd be willing to share. People can choose the scripts they want -- there's no need to agree upon a standard.

what do i load on the web bidding table?

the code or the generated hands ?

thanks

go easy-- I stupid.

View PostFree, on 2011-May-10, 03:57, said:

Babalu just wanted a shoulder to cry on, is that too much to ask for?
0

#27 User is offline   Rain 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,592
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Singapore

Posted 2009-April-16, 09:24

Renamed forum, let's discuss Dealer here.
"More and more these days I find myself pondering how to reconcile my net income with my gross habits."

John Nelson.
0

  • 2 Pages +
  • 1
  • 2


Fast Reply

  

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