Read Me
This directory contains various TCL scripts useful for generating hands
for bidding practice using Thomas Andrew's dealing program. Note that the
GNUmakefile - Makefile to create various hands for Standard American bidding.
GNUmakefile_template - A template to use when creating other makefiles
andrew_scripts.zip - A zip file made by running the command "make zip"
camelscripts, stdscripts - Delaer scripts for "Camel" and Standard American respectively
common.mk - The Makefile that contains all rules for making ".hand" files from ".tcl" files
deal316 - The dealer binary itself
bbo - Scripts that can be used to generate lin files for use in BBO
(experimental)
powershellScripts - Scripts used to generate lin files from dealer program easily
A small note on how the Makefiles are set up.
============================================
There are various limitations imposed by the dealer program that makes it difficult to use and which we have tried to
get around through the use of makefiles. In order to use them you will need to install GNU make. Most of us will just
need to use the makefile in the directory called "stdscripts". To generate hands from the 1M.tcl file you cd to the
stdscripts directory and issue the command:
make 1M.hand
and the hands corresponding to the constraints described in stdscripts/1M.tcl will be output on the screen
The constraints we are talking of above include:
- the dealer program has got to be executed from the same directory that the deal.exe is located in. Our Makefiles
take care of this for you
- the "dealer" program does not have the concept of "include" directory paths so all common files have to be included
on the commandline using the "-i" switch
Note that the complexity is abstracted into common.mk. Specifically, it contains a rule to generate a ".hand" target
out of a ".tcl" file. If you need to write your own custom targets you would want to refer to that file. Also, the
file GNUmakefile_template is a template for standard GNUmakefiles if you decide to create newer directories