home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Más de 2,500 Juegos
/
CD1.iso
/
ZIPDAT
/
0032
/
0032.ZIP
/
CHESSCLK.DOC
< prev
next >
Wrap
Text File
|
1996-10-23
|
9KB
|
159 lines
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
CHESSCLOCK
and
SCRABBLE (tm) Word Game Timer
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Any serious chess player will sooner or later wish to own a chess clock.
Chess clocks, little hand-made marvels of craftsmanship embedding two
distinct clock mechanisms in a wooden case, are indispensable for tournament
play, not to mention for 15-minute or 5-minute "blitz" games. Nowadays, they
are obtainable only at specialty shops, if at all, and cost upwards of $100
[a catalog lists Jerger (tm) wooden chess clocks at $134.95]. Little Swiss
clockmakers belong to a bygone era, and the "nifty" wooden chess clock you
end up spending a goodly sum for might well have been manufactured in a
Third World country and have only "fair" accuracy. Here is an alternative.
This is a full-featured chess clock implemented entirely in software. It
boasts digital time displays, a visual move counter, separately settable
White and Black clocks with a setting range from one minute up to 99 hours,
an optional low-time warning, and an optional graphic "tick" indicator. A
red "in use flag" gives a quick visual indication of which player's clock is
currently running (new to version 1.1 ). A beep or beep-beep signals the
keypress that changes from one player's clock to the other (new to versions
later than 1.2, this at the suggestion of D.J. Castater of San Diego, CA).
Overtime tracking is available in the Word Game Mode, see below.
This program requires a VGA monitor / card and a 386 or better machine.
It has been tested on 386SX and 486DX clones with VGA monitors, one with a
Tseng Labs clone graphics card and the other with a Trident graphics card.
Any generic VGA color monitor and card combination should work. It has not
been tested with a monochrome VGA display. It should work on the expensive
laptops with color VGA displays, but I cannot speculate whether laptop mono
VGA displays would give adequate results. I have made *no* effort toward
Windows (tm) compatibility. I would like to hear how it works on your
machine.
No special installation procedure is required. Just copy the file
CHESSCLK.EXE to a directory of your choice on your Hard Drive, or even onto
a working floppy. Type CHESSCLK to run it (note that typing SCRABCLK invokes
the Scrabble (tm) Word Game mode, see below). The opening screen displays
until a key is pressed.
The options screen asks for time to be allotted to White and Black. Just
pressing RETURN for "hours" automatically sets "hours" to zero, and likewise
for "minutes". Pressing RETURN for both hours and minutes defaults to the
standard setting of two hours exactly [this is a fast way to start the
clock(s) at two hours]. You may now choose a flashing "ticking" display
(some players may find it distracting). A "low-time" warning is the final
option, giving a brief buzz when either player's time winds down to a chosen
interval. Press a key when play commences. White's time begins counting
down. When White has moved, he/she presses a key (the SPACE BAR is handy) to
begin the Black countdown. Black in turn presses a key after having moved. A
"bleep" gives an audio notification if time runs out for either player.
Pressing the [p] key PAUSES the clock. A special beep-beep-beep signal
announces the =pause=. Pressing a key restarts the clock (and changes
players).This =pause= function has been implemented by special request to
allow interruptions in play without disturbing the game timing.
Pressing the [ESC] key stops the clocks and terminates the program.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Users should be cautioned that using a computer, especially an expensive
laptop, as a game timer may be hazardous to the health of the computer, as it
may subject the keyboard to pounding and abuse by the players. It is
suggested that an "el cheapo" $5-$10 keyboard be substituted when running
CHESSCLK or SCRABLCLK (see below). In any case, the author of the program
will of course *not* be responsible to damage to computer or keyboard due to
overenthusiastic whacking on it. Use common sense!
If the CHESSCLK / SCRABLCLK program is to be used regularly to time game
play, it may be advisable to run it on an older, expendable computer. At this
time, the program requires a 386 or better CPU and VGA card / monitor.
However, on request, the author can supply a version recompiled to run on an
obsolete 80286 or even 8088 CPU with monochrome (HGC) display. Of course, the
nice colors will show up in shades of green or amber, but it should still be
usable. It would be far more advisable to risk an old "clunker" computer,
worth maybe $75 on the market, than to expose a $3000 laptop to the vagaries
of board game fanatics.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
CHESSCLK should be of special interest to tournament Scrabble (tm) players,
or those playing timed versions of that game. The program is perfectly
suited for that application, or for any timed two-player game, such as board
war games. The =pause= function (see above) permits "challenges" or
evaluations while the clocks are frozen.
NEW:
====
If the clock is invoked by typing SCRABCLK, this enables the "overtime"
tracking feature. When a player's clock times out, it continues running, but
as a countup timer, and the clock digits turn bright red when a player is in
overtime. This permits easy calculation of penalty points, as it is
customary in tournament Scrabble (tm) to deduct 10 points per minute for
overtime. Note that when the program is running in this mode, the message
"Word Game Mode" is displayed atop the screen.
Tournament players will set the clocks at 25 minutes for each player.
However, it is simple to give the weaker player a handicap by setting his/her
clock to more time.
It is the normal practice in tournament Scrabble (tm) to assess 10 points
per minute or fraction thereof for overtime. SCRABCLK calculates the
penalty, shown at program termination, at 1 point per tenth of a minute, or
6 seconds, with increments less than six seconds not penalized. This is, in
my opinion, a more fair and accurate determination of the penalty, however,
if there are sufficient screams of outrage, I may change this to standard
usage in a future upgrade. In any case, you may, of course, recalculate the
point penalty by hand from the time shown on the clocks.
Scrabble (tm) is a trademark of the Milton Bradley Co., Inc.
CHESSCLK and SCRABCLK are not trademarks.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
In the spirit of Open Access, I am including the C++ and C source code in
this archive for those programmers wishing to play around with and hopefully
improve this program. Feel free to modify, but please request my approval
before distributing a modified version. I would be interested in seeing your
"improved" models. Credit will be freely given for genuine improvements.
Note that I have extensively "patched" the source code to provide extra
features. It does not look pretty, but it works. My apologies to the
programming purists [if you think you can do better, feel free to try].
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
This is Cheapware. I am requesting a modest $1.00 contribution as compen-
sation for the time spent developing this program. That is not much to pay
for saving $75 and up on a less functional wooden chess clock, or more than
$100 for a less capable dedicated game timer. Please write out a $1.00
check, place it into an envelope, and mail it to a "starving", but
hard-working programmer. Yes, I truly need the money. Grilled cheese