deal(1)
π deal(1) β Generate Bridge Hands π
okay bestie, sit down, we're talking about deal, section 1 of the manual, and the tagline is literally Generate Bridge Hands because that's the whole vibe. it generates bridge hands. that's it, that's the girl. πβ¨
β¨ NAME β¨
deal β bridge hand generator π
πΈ SYNOPSIS πΈ
deal [ -ltv ] [ -e expr ] [ -i condition file ] [ -I format ] [ -s seed ] [ -[NSEW] hand-spec ] [ count ]
π¦ DESCRIPTION π¦
deal is a program to generate bridge hands. no cap, that's the job description. π
when you first run deal, it will create its configuration directory, ~/.deal, and copy files from the deal system installation into that directory. so it's giving "move in, make yourself at home". π and like, users are free to make changes to their private configuration files β it's your directory, decorate it however you want. π«Ά
π OPTIONS π
-lβ write deals in a "single-line" format. one line, no scrolling, very demure. β¨-tβ print the distribution table and exit. the distribution table is an ordered list of all possible hand patterns for a single hand. like a lil catalogue of every shape a hand can be. π-vβ be verbose, print the sample count. she's chatty. π¬-e exprβ evaluate the Tcl expression expr. π§-i condition-fileβ file that defines the hand type to generate or the output format. (can be given multiple times β stack 'em up, bestie, it's a whole stack of conditions. π)-I formatβ read hands from stdin. π₯ the formats available are:ddline,giblib,line,pbn,smartstack. the idea here is: you might deal, say,10,000hands which satisfy specific criteria, saving them to a file. then you can use that output for input withdeal -Ito find out which hands satisfy other constraints. it's giving recycling but for bridge hands. β»οΈπ₯-s seedβ initialize the random generator with seed. π± (reproducibility icon behavior, iykyk)-[NSEW] hand-specβ specifies the cards held by the specified hand. the hand-spec should be of the form:"AK8532 - KQ72 A65". voids must be represented with a-character β do NOT skip this, the dash is load-bearing, it's the whole point. π and hand-spec should be one argument, so the string should be quoted on the command line. quote it. protect it. she's fragile. π₯Ίcountβ number of hands to generate, default is10. ten hands, freshly baked. π
π SEE ALSO π
- HTML Documentation <file:///usr/share/doc/deal/html/index.html> π
/usr/share/deal
π AUTHOR π
deal was written by Thomas Andrews <deal@thomaso.best.vwh.net>, <https://bridge.thomasoandrews.com/deal/>. absolute legend, main character energy, we stan. π«Ά
this manual page was copied from Christoph Berg's (<cb@df7cb.de>) manual page from the Debian project. credit where credit is due, periodt. π
and that's the whole page bestie!! πβ¨ this one's running on perl v5.42.0, dated 2025-07-23, and it's page deal(1) β go forth and deal some iconic hands, no cap. πππ¦
π¦ where this page comes from
- fedora 43: deal 3.1.12-3.fc43 Β· GPL-2.0-or-later AND GPL-1.0-or-later AND BSD-3-Clause-Attribution
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms