| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
| 3 |
<html> |
| 4 |
<head> |
| 5 |
<!-- $Id: examples.html 313 2009-06-11 05:44:13Z thomasoa $ --> |
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 7 |
<LINK REL="SHORTCUT ICON" HREF="/icon/bridge.ico"> |
| 8 |
<link rev="made" href="mailto:[email protected] (Thomas Andrews)"> |
| 9 |
<link rel="stylesheet" type="text/css" href="look.css"> |
| 10 |
<title> |
| 11 |
Deal - Example Scripts |
| 12 |
</title> |
| 13 |
|
| 14 |
<link rev="made" href="mailto:[email protected] (Thomas Andrews)"> |
| 15 |
|
| 16 |
|
| 17 |
</head> |
| 18 |
<body> |
| 19 |
|
| 20 |
<div class="back"><A href="index.html">Back to <em>Deal Top Page</em></A></div> |
| 21 |
|
| 22 |
<TABLE class="toplevel"> |
| 23 |
|
| 24 |
<TR> |
| 25 |
<td valign="top"><img |
| 26 |
style="border:0;width:225px;height:216px" |
| 27 |
SRC="graphics/falling_small.jpg" ALT="Plane Dealing image"></td> |
| 28 |
<td valign="middle" width="50%"><div class="header"><h1>Deal 3.1</h1> |
| 29 |
<h2>Examples</h2></div> |
| 30 |
</td> |
| 31 |
</tr></table> |
| 32 |
<div class="toplevel"> |
| 33 |
<hr> |
| 34 |
|
| 35 |
<UL> |
| 36 |
<LI> <a href="ex/1.txt">Example 1</a>: North is 44 in majors and short in |
| 37 |
a minor, with 11 to 15 points. |
| 38 |
<LI> <a href="ex/2.txt">Example 2</a>: South holds a specific hand and |
| 39 |
east opens two clubs. |
| 40 |
<LI> <a href="ex/3.txt">Example 3</a>: Holding a specific hand, south |
| 41 |
on lead after opponents bid: 1S(W)-1NT-2NT-3NT. |
| 42 |
<LI> <a href="ex/4.txt">Example 4</a>: South opens a weak two in spades |
| 43 |
or hearts |
| 44 |
<LI> <a href="ex/5.txt">Example 5</a>: Playing Blue Club, responder |
| 45 |
to 1C opening has three or more controls |
| 46 |
<LI> Shape class variants of above examples: |
| 47 |
<UL> |
| 48 |
<LI> <a href="ex/1-shapeclass.txt">Example 1, with shape class</a>: Same problem |
| 49 |
as Example 1, but implemented using shape classes |
| 50 |
<LI> <a href="ex/3-shapeclass.txt">Example3, with shape class</a>: Same problem |
| 51 |
as Example 3, but implemented using shape classes |
| 52 |
</UL> |
| 53 |
<LI>Example 6: Find deals where north and south are void in the same suit, |
| 54 |
using several different methods. |
| 55 |
<ul> |
| 56 |
<LI> <a href="ex/6a.txt">Example 6a</a>: Basic code. |
| 57 |
<LI> <a href="ex/6b.txt">Example 6b</a>: Using a shape class. |
| 58 |
<LI> <a href="ex/6c.txt">Example 6c</a>: Using a shape procedure. |
| 59 |
<LI> <a href="ex/6d.txt">Example 6d</a>: Using a holding procedure. |
| 60 |
</ul> |
| 61 |
<LI>Smart stacking examples: |
| 62 |
<ul> |
| 63 |
<li> <a href="ex/1-stack.txt">Example 1, with smart stacking</a>: Same problem |
| 64 |
as example 1, but with smart stacking. |
| 65 |
<li> <a href="ex/3nt-stack.txt">Gambling NT with smart stacking</a>. Deal hands |
| 66 |
where south has "AK K52 98765 962" and north opens a gambling 3NT. Rather than |
| 67 |
writing out the full deal, this example only writes out north's shape. |
| 68 |
</ul> |
| 69 |
</UL> |
| 70 |
<hr> |
| 71 |
<table><tr><td><a href="http://bridge.thomasoandrews.com/" class="image"> |
| 72 |
<img style="border:0;width:40px;height:56px" alt="Silhouette" src="graphics/StampSm.gif"></a><td> |
| 73 |
Thomas Andrews |
| 74 |
(<a href="mailto:deal@thomasoandrews.com">deal@thomasoandrews.com</a>) |
| 75 |
Copyright 1996-2010. Deal is covered by the |
| 76 |
<a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License.</a> |
| 77 |
<p> |
| 78 |
<a href="graphics/falling.jpg"><em>Plane Dealing</em></a> graphic |
| 79 |
above created using |
| 80 |
<a href="http://www.povray.org/">POV-Ray.</a> |
| 81 |
</tr></table> |
| 82 |
</div> |