1deal(1) Generate Bridge Hands deal(1)
2
3
4
6 deal - bridge hand generator
7
9 deal [ -ltv ] [ -e expr ] [ -i condition file ] [ -I format ] [ -s seed ] [ -[NSEW] hand-spec ] [ count ]
10
12 deal is a program to generate bridge hands.
13
14 When deal is first run, it will create its configuration directory,
15 ~/.deal and copy files from the deal system installation into that
16 directory. Users are free to make changes to their private
17 configuration files.
18
20 -l Write deals in a "single-line" format.
21
22 -t Print distribution table and exit. The distribution table is an
23 ordered list of all possible hand patterns for a single hand.
24
25 -v Be verbose, print sample count.
26
27 -e expr
28 Evaluate the Tcl expression expr.
29
30 -i condition-file
31 File that defines the hand type to generate or the output format.
32 (Can be given multiple times.)
33
34 -I format
35 Read hands from stdin. Formats available are: ddline, giblib,
36 line, pbn, smartstack. You might deal, say, 10,000 hands which
37 satisfy specific criteria, saving them to a file. Then you can
38 use that output for input with deal -I to find out which hands
39 satisfy other constraints.
40
41 -s seed
42 Initialize random generator with seed.
43
44 -[NSEW] hand-spec
45 Specifies the cards held by the specified hand. The hand-spec
46 should be of the form: "AK8532 - KQ72 A65". Voids must be
47 represented with a '-' character. hand-spec should be one
48 argument, so the string should be quoted on the command line.
49
50 count
51 Number of hands to generate, default is 10.
52
54 HTML Documentation <file:///usr/share/doc/deal/html/index.html>,
55 /usr/share/deal.
56
58 deal was written by Thomas Andrews <deal@thomaso.best.vwh.net>,
59 <https://bridge.thomasoandrews.com/deal/>.
60
61 This manual page was copied from Christoph Berg's (<cb@df7cb.de>)
62 manual page from the Debian project.
63
64
65
66perl v5.38.0 2023-07-19 deal(1)