Bridge Toy XHP1Hand Pattern Analyzerby Richard Pavlicek
Hands S H D   Sort
 Known Or Not
Query1 Or Not
Query2 Or Not
QuitMode ID Limit Precision      Start Over

Edit settings if needed and click Start

Hands Select the two unseen hands (if not West-East) and the number of spades, hearts and diamonds to be distributed. Clubs are determined automatically since S + H + D + C must equal 26.

Sort Listing may be sorted by frequency, length of any suit or freakness relative to either hand, or by the freakness sum of both hands. Top sorts high to low; Low reverses.

Known All distributions are presumed possible. If you know otherwise, you can exclude layouts. Suppose East opened 3 D which you conclude shows seven diamonds with no 4-card major. Enter three tests on the Known line: Ed7 Es0-3 Eh0-3

Each test must begin {Hand}{Suit} where Hand is W or E (or as selected) and Suit is SHDC or F (freakness). Optionally this may be followed by a sign (+/-) and a second {Hand}{Suit} to add/subtract its value. This is followed by a number range in the form {Min}-{Max} or {Min}+ (omit + for an exact value) or structure {Operator}{Hand}{Suit} where Operator may be = equal, ! not equal, [ less than, ] greater than, ( less than or equal or ) greater than or equal.
Query To find the percent chance of any layout, enter the test conditions on the Query1 line using the same syntax as above. If desired, a second query may be entered on the Query2 line.

Or/Not Spaces between tests mean "And" by default. Check "Or" for alternatives. Check "Not" to reverse true/false state.

Mode Select whether to display an editable form, comma separated values, or an HTML table. Select Help to redisplay these instructions and retain all settings. Also, if you enter a 4-character ID, you can select Save to retain work for up to a month (select Load to restore).

Limit Maximum number of distributions to include (clear for all).

Precision Number of decimal places to which percents and averages are rounded.