|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T b
Length: 6041 (0x1799) Types: TextFile Names: »bidding.doc«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Bidding/bidding.doc«
Bridge Bidder Version 3.0 by John Oswalt and Nathan Glasser ..!sun!megatest!jao (usenet) nathan@brokaw.lcs.mit.edu (internet) nathan@mit-eddie.uucp (usenet) June, 1989 ------------------------------------------------------------------------------ Copyright 1988, 1989 by Nathan Glasser and John Oswalt. You may feel free to distribute this program in its current form. Please do not remove this copyright information. ============================================================================== This program lets you practice your bidding and opening leads. Any conventions you want to use are allowed because you're your own partner, as well as your own opponents. The idea behind this program is that if you're involved with a large enough number of boards, you hopefully won't remember all the hands of a given board, and so you can bid each of the four hands at different times. What the program does is let you make all the bids in all the hands, one bid at a time, choosing which board to use at any point randomly and letting you enter the next bid in its bidding sequence. In this way, you get to practice bidding with 3 other players whose bidding you understand completely and a partner whom you trust implicitly. If you find this not to be the case, then you'll probably have discovered ways in which you need to better understand your bidding system or in which bidding can otherwise be improved. (By the way, randomly dealt hands tend to have more unusual distribution than cards which are shuffled and dealt. Thus you may find that you're pushing your knowledge of your bidding system to its limits with some of the hands you'll get.) Rather than settling for hands which are entirely random, the program allows you to specify a deal types. A list of the possible deal types appears at the end of this file. ------------------------------------------------------------------------------ The operation of the program is as follows: Usage: bid [-l] [-d] number_of_deals [deal_type [parameter]] -l = list deal types -d = deal hands without bidding; save in the log file only The appropriate number of boards of the specified type are dealt. You are shown a single hand, and the bidding of the current board so far (if there's been any), and you get to enter the next bid. You continue in this fashion until the bidding is completed on every hand. Then you are presented with the hand of the player to make the opening lead on a board, and the bidding of the hand, and get to enter the opening lead. The complete hand is then presented to you for your analysis. You continue in this fashion until all the hands have been bid and led to. A complete log of each board is automatically written to the file "bidding.log" after the board's completion. ------------------------------------------------------------------------------ Bids are specified in the obvious way, e.g. 1s = 1 spade, 2n = 2 notrump, p = pass, d = double, r = redouble. Similarly, opening leads are specified in the obvious way, e.g. 2c = 2 of clubs, js = jack of spades, th or 10h = ten of hearts. ------------------------------------------------------------------------------ If you enter a bad bid at any point, the current hand and bidding will be redisplayed. This can be useful if, when running under Unix, you hit ^Z to stop the program, do some other stuff, and then return to the program later. A special case of a bad bid is to enter any "8" level bid, which of course is meaningless. If you've messed up the bidding, e.g. by typing 2S when you meant to type 2H, the bidding for the current deal will be started over from the beginning. It's better than nothing. ------------------------------------------------------------------------------ How using deal_type's works: Deals are dealt randomly. When a deal_type is specified, each deal is checked for conformity to deal_type; if it fails, it is redealt. After each internal deal, a line is printed which tells how many deals have been dealt and how many have conformed to deal_type. Since some deal_types can take a long time to find a conforming deal, this line is also printed every thousand attemped deals. deal_type can be: 2clubs: Someone has at least game - 1 trick (but not a 2NT hand). 2clubs1st: Dealer has at least game - 1 trick (but not a 2NT hand). goulash: Hands delt normally, sorted, cut, and redelt 5-5-3. 3nt: Someone has a 7 or 8 card minor to AKQ with no outside A or K. 2nt: Someone has a 20-21 HCP hand with no 5 card major, no 6 card minor, no singleton, and no void. 1nt: Someone has a 15-17 HCP hand with no 5 card major, no 6 card minor, no singleton, and no void. misfit: All fits are 6 or 7 cards. flannery: Someone has 5 hearts, 4 spades, and 11-15 HCP. flannery1st: Dealer has 5 hearts, 4 spades, and 11-15 HCP. longsuit N: Someone's longest suit is N cards long. losers N: Someone has exactly N losers. voidhands N: N hands contain at least 1 void. totalvoids N: There are N voids in the deal. fit N: At least 1 partnership has exactly N cards in some suit. doublefit N: At least 1 partnership has exactly N cards in two suits. badmisfit N: For at least 1 hand the following is true: Let A and B be two suits, and misfit(x) be the total cards of suit x contained in the hand and in some opponent's hand. Misfit(A) + Misfit(B) >= N for some A and B. wild: Equal parts of 2clubs, 2nt, flannery1st, longsuit 8, losers 3, totalvoids 2, doublefit 19, badmisfit 20, 3nt, and goulash. experiment: Uses custom code in exper.c to generate and qualify deals. See exper.doc and exper.c Bugs: the program does not always check for meaningful parameters. E.g., if you ask for hands with 13 losers, it will look forever. It is not very efficient in generating rare hands. If you ask for deals with 13 card fits, it will take a long time to find them. ------------------------------------------------------------------------------ Please send any comments or bug reports to us at the above e-mail addresses.