home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
games
/
volume13
/
okbridge
/
part05
/
okbridge.help
< prev
next >
Wrap
Text File
|
1992-01-12
|
11KB
|
314 lines
# okbridge.help -- help file for the okbridge program
#
# Copyright (C) 1990,1991 by Matthew Clegg
#
# This program may be copied and distributed freely. Please do not
# charge money for this program or for any program derived from it.
# If you modify this program, then include a notice stating plainly
# that your program is derived from the okbridge program and is not
# the same as the official okbridge program.
#
# I welcome any suggestions for improvement to okbridge, and
# I would be especially happy to receive improved source code.
# If you have comments or suggestions, or if you would like to
# join the okbridge mailing list, then write to
#
# mclegg@cs.ucsd.edu
#
#
# The help information in this file is organized as a series of topics.
# The first entry in the file is interpreted to be the main topic,
# i.e., it is the entry which is displayed if no particular keyword
# is given. Each topic entry has a header line which contains an
# identifying keyword and a descriptive phrase. This is followed
# by the body of the entry and is terminated by an end-of-entry line.
#
# The format of an entry is
#
# <keyword> <phrase>
# help text
# more help text
# ...
# last help text
# --
#
# Comment lines such as this one are not printed in the help display.
# A page break is given by placing the '^' character on a line by itself.
#
main A general description of the program
Welcome to OKBRIDGE, version 1.3
This is a computer-moderated bridge program. It allows four
people at different locations on the Internet to play bridge together.
The computer shuffles the cards and communicates bids and plays between
the players.
The help system is organized as a series of topics, each
identified by a keyword. To obtain information on a particular topic,
just type '/HELP topic'. The information displayed on the screen
reflects the current state of the game and is meant to be
self-explanatory. The input to the program is command-oriented. See
the topic '/help input' for more information on this subject.
Good luck at the bridge table!
--
bidding information on how to enter a bid
Information about Bidding
----------- ----- -------
The format of a bid is one of the following:
<level> <trump>
DOUBLE (or X)
REDOUBLE (or XX)
PASS (or P)
where
<level> is either 1, 2, 3, 4, 5, 6, or 7
<suit> is one of
NOTRUMP (or NT or N)
SPADES (or SPADE or S)
HEARTS (or HEART or H)
DIAMONDS (or DIAMOND or D)
CLUBS (or CLUB or C)
examples
P, 1C, 1 CLUB, 1N, 1NT, 1 NOTRUMP, 2H, 2 HEARTS, X, DOUBLE, XX
--
commands Commands for controlling the program
/BELL [ON|OFF]
By default, the okbridge program rings the terminal's bell whenever
it requests input from you. However, this can be disabled by
typing '/BELL OFF'. The state of the bell can be toggled with ^G.
/CLAIM [n]
This command 'claims' n additional tricks for the declarer.
If n is omitted, then all remaining tricks are claimed.
The other players are shown the declarer's hand and are
asked whether or not they agree to the declarer's request.
If both agree, then the hand is ended early. This command can
be used only by the declarer and only when it is declarer's or
dummy's turn to play.
/DEFAULT [ON | OFF]
This command controls whether or not defaults will be provided
for bids, plays and questions. This mode can be toggled with ^D.
^
/HELP [topic]
Type '/HELP' alone to obtain general help, or type
'/HELP topic' to obtain help about a particular topic.
/LOG [filename]
Typing '/LOG filename' causes this hand and subsequent hands
to be written to the file with name 'filename'. Omitting
'filename' causes the current log file to be closed.
/PING
Sends an invisible message to each of the other players, which is
automatically echoed. Reports the round-trip communication time.
/PROMPT [ON|OFF]
By default, the dummy is asked to press RETURN after the end
of each trick. This allows the dummy to see each trick as
it is played. This prompting can be disabled by typing
'/PROMPT OFF' (convenient if you need to run to the wc :-)
The prompt mode can be toggled with ^P.
^
/QUIT
Terminates the program.
/REVIEW
Displays the bidding for review. This is intended to be used
during the playing mode. This command can be abbreviated with ^B.
/TALK message
Sends a short message to the other players. This command can be used
when the program is waiting for you to enter a bid or a play.
Not needed if the word 'TALK' is displayed to the left of the cursor.
--
controls Special control characters recognized by the program
Special control characters recognized by the program
------- ------- ---------- ---------- -- --- -------
^B When used during the play of a hand, the bidding is displayed
for review.
^C Quits the program. (The program requests confirmation first.)
^D Toggles the default input mode. See the /DEFAULT command.
^G Toggles the bell. See the /BELL command.
^P Toggles the prompt. See the /PROMPT command.
^R Refreshes the screen.
^T Returns to talk mode if you have been asked to bid or play.
ESC Erases the input which has been typed so far.
In addition, if you press RETURN without typing anything, the program will
supply a default input, which can then be entered by pressing RETURN again.
--
copyright Copyright notice for the program
Copyright Notice
--------- ------
Copyright (C) 1990,1991 by Matthew Clegg
This program may be copied and distributed freely. Please do not
charge money for this program or for any program derived from it.
If you modify this program, then include a notice stating plainly
that your program is derived from the okbridge program and is not
the same as the official okbridge program.
I welcome any suggestions for improvement to okbridge, and I would be
especially happy to receive improved source code. If you have
comments or suggestions, or if you would like to join the okbridge
mailing list, then write to
mclegg@cs.ucsd.edu
--
email Commands specific to email duplicate bridge
/DEAL [nhands]
This command can only be used by north when playing Email
duplicate bridge. It causes nhands boards to be dealt and
played. After they have been played, the results can be
/SAVEd and emailed to another foursome for play.
/LOAD filename
This command can only be used by north when playing Email
duplicate bridge. It causes a series of boards to be read
from the file "filename".
/SAVE filename
This command causes the set of boards which have been played
so far to be saved to the file with name filename. These
boards can then be emailed to another foursome for competitive
play. Note that the /SAVE command can be used by any player
at any time. However, the previous results of play by other
foursomes will only be recorded if /SAVE is used by north.
/REPLAY filename
First /LOAD's "filename". After the boards have been played,
automatically saves them along with the results back to "filename".
--
input General info about entering input
How to Enter Input
--- -- ----- -----
During normal operation, the bridge program is always in one of
three 'input modes'. The input which you type is interpreted according
to the input mode, which is displayed at the beginning of the line
containing the cursor. The input modes are
Mode Interpretation
---- --------------
BID The program is expecting you to enter your bid.
PLAY The program is expecting you to enter the card you wish to play.
TALK Any text that you enter will be transmitted to the other players.
As you type your text, you may use the backspace key to erase the last
character. The ESC key will erase all of the text you have typed.
There are number of commands which can be given to the program in any
input mode. For information on these commands, type '/help commands'.
Also, there are a number of special control-characters which are
recognized by the program. For information about these, type
'/help controls.'
--
maillist Information about the okbridge mailing lists
The Okbridge Mailing Lists
--- -------- ------- -----
okbridge@cs.ucsd.edu
This list is intended for arranging bridge games.
okbridge-pgm@cs.ucsd.edu
This list is intended for announcing new bridge playing software and
updates to old bridge software and for discussing issues in computer
moderated bridge.
To join either list, send a message to the corresponding email address
whose body contains the single line
ADD <list-name>
where <list-name> is okbridge or okbridge-pgm, as appropriate.
--
network Setting up the network communications
Network Information
------- -----------
Before the game can begin, the players must agree that one person will
act as the 'server'. All messages transmitted by the program are then
mediated through this server. When starting the program, the internet
name of the server must be specified on the command line.
If you usually play with the same four people, then you may want to
put the name of the server and your usual position into the .okbridgerc
file. The .okbridgerc file contains default information which is read
by the program before it starts.
--
playing Information about how to enter a play
Information about Playing
----------- ----- -------
A card is played by writing
<suit> <rank>
where
<suit> is one of
SPADES (or SPADE or S)
HEARTS (or HEART or H)
DIAMONDS (or DIAMOND or D)
CLUBS (or CLUB or C)
<rank> is one of
2, 3, ..., 9, TEN (or T), JACK (or J), QUEEN (or Q),
KING (or K), ACE (or A)
Some examples of cards are
CT, C T, C TEN, CLUB T, CLUB TEN, S3, SPADE3, SPADE 3
Note that the order <suit> <rank> used in playing is reversed
from the order <level> <trumpsuit> used in bidding.
--
slam A special message when a slam is made
Oh, what a beautiful mornin'!
Oh, what a beautiful day!
I got a beautiful feelin'
Ev'rything's goin' my way.
Oh, what a beautiful day.
...
words by Oscar Hammerstein II
from the musical, _Oklahoma_