| 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: downloading.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 3.1 - Downloading |
| 12 |
</title> |
| 13 |
<script src='http://bridge.thomasoandrews.com/deal/version.js'></script> |
| 14 |
|
| 15 |
</head> |
| 16 |
|
| 17 |
<body onload='noteOldVersion("3.1.9")'> |
| 18 |
<div class="back"><A href="index.html">Back to <em>Deal Top Page</em></A></div> |
| 19 |
<TABLE class="toplevel"> |
| 20 |
<TR valign="middle"><td align="center"><img |
| 21 |
style="width:225px;height:216px" |
| 22 |
SRC="graphics/falling_small.jpg" alt="Deal 3.1"></td> |
| 23 |
<td valign="middle"> |
| 24 |
<div class="header"><h2>Downloading Deal</h2></div> |
| 25 |
<UL> |
| 26 |
<li> <a href="#downloading">Downloading Deal 3.1.9</a> |
| 27 |
<li> <a href="#googlecode">Google Code Source Repository</a> |
| 28 |
<li> <a href="#changes">Recent Changes</a> |
| 29 |
<li> <a href="#building">Building Deal</a> |
| 30 |
</UL></td> |
| 31 |
</tr></table> |
| 32 |
|
| 33 |
<div class="toplevel"> |
| 34 |
<hr> |
| 35 |
|
| 36 |
<div id='versionWarning'></div> |
| 37 |
<h3><a name="downloading">Downloading Deal 3.1.9</a></h3> |
| 38 |
<p>Go to the <a href="http://bridge.thomasoandrews.com/deal/">main Deal page</a> to download the latest version. |
| 39 |
<h3><a name="googlecode">Google Code Source Repository</a></h3> |
| 40 |
<p>There is now a <a href="http://andrews-deal.googlecode.com/">Google Code project for Deal</a> containing the source code for this project. You can browse the source code, check out the latest source code or past versions of the source code. |
| 41 |
|
| 42 |
<h3><a name="changes">Recent Changes</a></h3> |
| 43 |
<pre class="codesample"> |
| 44 |
Changes in Deal 3.1.9 |
| 45 |
|
| 46 |
* Fix issue #14 - smartstack was broken on OS X |
| 47 |
* Fix issue #15 - holding procedures implementation incomplete |
| 48 |
* Added documentation of pattern functions to advanced.html |
| 49 |
* Minor documentation fix |
| 50 |
|
| 51 |
Changes in Deal 3.1.8 |
| 52 |
|
| 53 |
* Added patternfunc, patternclass, and patterncond, which are similar in |
| 54 |
function to the shapefunc, shapeclass, and shapecond routines. [In |
| 55 |
Deal, a shape is the ordered list of suit lengths: s-h-d-c. A pattern |
| 56 |
is sorted by lengths (decreasing.) So the 3-4-5-1 shape has the pattern |
| 57 |
5431. |
| 58 |
|
| 59 |
* Added documentation to commands-body.html for the new pattern procedures |
| 60 |
|
| 61 |
* Added google analytics code to the documentation (for my web site |
| 62 |
only - local documentation does not have the google analytics) |
| 63 |
|
| 64 |
* [Internals] Changed occurances of "hand" in variable names to "seat" |
| 65 |
when it refers to a location at the table (North, East, South, West.) |
| 66 |
|
| 67 |
Changes in Deal 3.1.7 |
| 68 |
|
| 69 |
* Added code to pass argument values (argc, argv, argv0) when using the |
| 70 |
'-x' flag |
| 71 |
|
| 72 |
* Added code to allow for easier build against Tcl 8.3. |
| 73 |
|
| 74 |
* Updated binky points with newly computed values. The new version |
| 75 |
does not have binky::defense.suit or binky::defense.nt. |
| 76 |
Added documentation for Binky Points evaluators. |
| 77 |
|
| 78 |
* Fixed 64-bit builds using a fix found in Christoph Berg's Ubuntu |
| 79 |
package for Deal. |
| 80 |
|
| 81 |
* Added another fix by Christoph Berg which improves random number |
| 82 |
seeding |
| 83 |
|
| 84 |
* Added Make.ubuntu and Make.mac-osx to source release build |
| 85 |
|
| 86 |
* Clarified some build and install notes |
| 87 |
|
| 88 |
* Fixed docs to use './deal' rather than 'deal' |
| 89 |
|
| 90 |
Changes in Deal 3.1.6 |
| 91 |
|
| 92 |
* Added newLTC function |
| 93 |
|
| 94 |
* Merged in changes with DDS 1.1.9 (about 5% performance increase in |
| 95 |
double dummy solving in tests of average deals) |
| 96 |
|
| 97 |
* Moderate changes in documentation |
| 98 |
|
| 99 |
* Moved the source code to a Google Code project, at http://andrews-deal.googlecode.com/ |
| 100 |
|
| 101 |
Changes in Deal 3.1.5 |
| 102 |
|
| 103 |
* Changed "stringbox" procedures to allow Unicode characters |
| 104 |
|
| 105 |
* Small changes to DDS to clarify code and very slightly improve performance (fixing a |
| 106 |
'bug' that I had created which required holding_t type to be unsigned int rather |
| 107 |
that unsigned short |
| 108 |
|
| 109 |
* Allow fully played tricks to be passed with the -trick option to 'dds' command |
| 110 |
|
| 111 |
* Documentation for 'dds' -trick option |
| 112 |
|
| 113 |
* Reorganization of commands documentation file to create a non-framed version |
| 114 |
|
| 115 |
|
| 116 |
Changes in Deal 3.1.4 |
| 117 |
|
| 118 |
* Added -trick flag to dds |
| 119 |
|
| 120 |
* Allowed for inclusion of Tcl release libraries |
| 121 |
|
| 122 |
* Moved most of deal.tcl to lib/features.tcl |
| 123 |
|
| 124 |
Changes in Deal 3.1.3 |
| 125 |
|
| 126 |
* Fixed performance issue in DDS that I introduced in Deal 3.1.0. |
| 127 |
|
| 128 |
* Added -x command line flag |
| 129 |
|
| 130 |
Changes in Deal 3.1.2 |
| 131 |
|
| 132 |
* Added dds command for more control over the double dummy solver |
| 133 |
|
| 134 |
* Added 'universal' target to Makefile for building Mac universal binaries |
| 135 |
|
| 136 |
* Added tests for double-dummy solver, including Great 88 file |
| 137 |
|
| 138 |
* Performance tweaks to the double-dummy solver |
| 139 |
|
| 140 |
* Fixed a typo bug in deal.tcl |
| 141 |
|
| 142 |
* Added full_deal command |
| 143 |
|
| 144 |
* Added unicode output option for default format (to put out suit symbols) |
| 145 |
|
| 146 |
* Changed to allow "-" as void in inputs |
| 147 |
|
| 148 |
* Fixed seeding with seed_deal command |
| 149 |
|
| 150 |
* Updated documentation and built a documentation-management system |
| 151 |
|
| 152 |
Changes in Deal 3.1.1 |
| 153 |
|
| 154 |
* Implemented deal::tricks for caching of double dummy data |
| 155 |
and uniform interface to double dummy tricks data |
| 156 |
|
| 157 |
* Changed call to Haglund's solver to re-use data when processing |
| 158 |
contracts in the same denomination and different declarers. |
| 159 |
|
| 160 |
Changes in Deal 3.1 |
| 161 |
|
| 162 |
* Added Bo Haglund's Double Dummy Solver |
| 163 |
|
| 164 |
Changes in Deal 3.0.8 |
| 165 |
|
| 166 |
[ No binary changes ] |
| 167 |
|
| 168 |
* Fixed "line" input format |
| 169 |
|
| 170 |
* Updates documentation |
| 171 |
|
| 172 |
Changes in Deal 3.0.7 |
| 173 |
|
| 174 |
[ No binary changes - all changes in the Tcl files. ] |
| 175 |
|
| 176 |
* Changed "score" to be a table lookup. |
| 177 |
* Fixed a bug in "parscore" which wrong-sided the |
| 178 |
contract sometimes. |
| 179 |
* Fixed documentation file "commands.html". |
| 180 |
|
| 181 |
Changes in Deal 3.0.6 |
| 182 |
|
| 183 |
[ No binary changes this release - all changes in the Tcl files. ] |
| 184 |
|
| 185 |
* Made changes to gib.tcl to work with the latest version of GIB. |
| 186 |
|
| 187 |
* Fixed a few bugs with various formatting procedures. |
| 188 |
|
| 189 |
Changes in Deal 3.0.5 |
| 190 |
|
| 191 |
* Fixed a bug - Deal 3.0.4 failed to recognize "-" as void |
| 192 |
in -S, -E, -N, -W options, as well as in "north is " commands. |
| 193 |
|
| 194 |
----- |
| 195 |
|
| 196 |
Changes in Deal 3.0.4 |
| 197 |
|
| 198 |
* Update doc examples to match ex/ subdirectory. |
| 199 |
|
| 200 |
* Deleted util.c and util.h from distribution. |
| 201 |
|
| 202 |
----- |
| 203 |
|
| 204 |
Changes in Deal 3.0.3 |
| 205 |
|
| 206 |
* Added GNU General Public License copyright to most files, and full |
| 207 |
GPL text to release. |
| 208 |
|
| 209 |
* Altered deal.c to improve performance of reset_deal() routine. |
| 210 |
Improved overall performance of 10%. |
| 211 |
|
| 212 |
* Re-implemented in Tcl the broken undocumented old procedures, |
| 213 |
intersectclass, negateclass, and joinclass. This lets you create |
| 214 |
new shape classes from old shape classes using standard boolean |
| 215 |
functions. Old code removed from dist.c, new code added to deal.tcl . |
| 216 |
|
| 217 |
* Deleted some unused code in deal.tcl which was left from early |
| 218 |
efforts at the smart stacking routines. |
| 219 |
|
| 220 |
* Updated the documentation |
| 221 |
|
| 222 |
----- |
| 223 |
Changes in Deal 3.0.2 |
| 224 |
|
| 225 |
* Fixed a bug in the smartstack methods. |
| 226 |
|
| 227 |
* Altered zip builds to put files in deal302 directory (rather than |
| 228 |
deal3.0.2) |
| 229 |
|
| 230 |
* Polished the HTML docs (in docs/html directory.) |
| 231 |
|
| 232 |
* Many, many improved error messages when commands are misused |
| 233 |
|
| 234 |
* Cleaned up some code |
| 235 |
|
| 236 |
* Made dist.c use more Tcl_Obj pointers rather than strings - makes for |
| 237 |
faster compiles of shape classes. (I can't believe I left those |
| 238 |
sprintf calls for so long. :-) |
| 239 |
|
| 240 |
* Fixed some of the examples which called deal::stack_hand, a non-existant |
| 241 |
procedure. |
| 242 |
|
| 243 |
----- |
| 244 |
|
| 245 |
Changes in Deal 3.0.1 |
| 246 |
|
| 247 |
The changes for Deal 3.0.1 (from Deal 3.0 beta 11) were made essentially |
| 248 |
for two reasons: |
| 249 |
|
| 250 |
(1) To finish the Deal 3.0 release - e.g., added documentation. |
| 251 |
(2) To add features needed for the "smartstack" routines. |
| 252 |
|
| 253 |
* Include HTML docs in docs/html directory. |
| 254 |
|
| 255 |
* Most library files in release moved to the lib directory |
| 256 |
|
| 257 |
* Added "smartstack" input class for fast building of hands which fit |
| 258 |
specific patterns |
| 259 |
|
| 260 |
* Added "stacked" procedure to find out the current state of the |
| 261 |
deck-stacking. Returns the list of cards stacked to the named hand. |
| 262 |
|
| 263 |
* Altered stacking methods. Added procedures "deck_stack_cards," |
| 264 |
"deck_stack_hand", "stack_cards," and "stack_hand." By default, |
| 265 |
"stack_hand" and "stack_cards" just call the "deck_" procedures, |
| 266 |
but the idea is that "stack_cards" and "stack_hands" can be |
| 267 |
overridden. Now when you call "south is AJ4 KJ54 9643 72" it in |
| 268 |
turn calls "stack_hand south AJ4 KJ54 9643 72." Similarly, |
| 269 |
"south gets ..." calls "stack_cards," although there the transformation |
| 270 |
is somewhat different. |
| 271 |
|
| 272 |
* Added "list" subcommand to shape classes. e.g., |
| 273 |
|
| 274 |
shapeclass hasVoid { expr {$s*$h*$d*$c==0} } |
| 275 |
|
| 276 |
foreach shape [hasVoid list] { |
| 277 |
... |
| 278 |
} |
| 279 |
|
| 280 |
* Added "shape" subcommand to the shape classes and functions, e.g., |
| 281 |
|
| 282 |
shapefunc foo { ... } |
| 283 |
|
| 284 |
foo shape {4 2 4 3} |
| 285 |
|
| 286 |
So: |
| 287 |
|
| 288 |
foo north |
| 289 |
|
| 290 |
Is the same as: |
| 291 |
|
| 292 |
foo shape [north shape] |
| 293 |
|
| 294 |
* Added the "holding" utility procedure, with subcommands length, |
| 295 |
disjoint, ... |
| 296 |
|
| 297 |
holding length AKxxx => 5 |
| 298 |
holding disjoint AKJ4 QT94 => 0 [ false ] |
| 299 |
|
| 300 |
New to Deal 3.0: |
| 301 |
|
| 302 |
* Fast holding procedures definable with holdingProc. |
| 303 |
|
| 304 |
* GIB interfaces (gib::directory, gib::tricks, parscore) |
| 305 |
|
| 306 |
* Bridge utility routines - lho, rho, partner, score |
| 307 |
|
| 308 |
* Input format extensibility |
| 309 |
|
| 310 |
* Uses features of faster versions of Tcl (Tcl 8.x) |
| 311 |
|
| 312 |
</pre> |
| 313 |
|
| 314 |
<h3><a name="building">Building Deal</a></h3> |
| 315 |
<h4>Ubuntu Users</h4> |
| 316 |
<p>Be careful, there is an Ubuntu package of Deal which is almost always a few revisions behind. If it tells you to try to use <code>apt-get</code> to install deal, that just means that you've run deal outside of the directory where you built it, or you don't have '.' in your PATH environment variable. |
| 317 |
<p>Otherwise, checkout the Wiki at <a href="http://code.google.com/p/andrews-deal/wiki/BuildingNotes">the build notes in the Google Code project</a> for notes on how to build Deal on Linux or Mac OS X or other Unix-like platforms. |
| 318 |
</div> |
| 319 |
<hr> |
| 320 |
<table><tr><td><a href="http://bridge.thomasoandrews.com/" class="image"> |
| 321 |
<img style="border:0;width:40px;height:56px" alt="Silhouette" src="graphics/StampSm.gif"></a><td> |
| 322 |
Thomas Andrews |
| 323 |
(<a href="mailto:deal@thomasoandrews.com">deal@thomasoandrews.com</a>) |
| 324 |
Copyright 1996-2010. Deal is covered by the |
| 325 |
<a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License.</a> |
| 326 |
<p> |
| 327 |
<a href="graphics/falling.jpg"><em>Plane Dealing</em></a> graphic |
| 328 |
above created using |
| 329 |
<a href="http://www.povray.org/">POV-Ray.</a> |
| 330 |
</tr></table> |
| 331 |
|