uday, I love you so much
*adds to bookmarks*
web based deal generator
#22
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.
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.
#24
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.
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
#25
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)
(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
#26
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.

Help
Add Reply
MultiQuote