home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
DOOR
/
BJBETA27.ZIP
/
BLKJACK.DOC
next >
Wrap
Text File
|
1994-11-06
|
20KB
|
480 lines
_____________________________________________________________________
WCS BlackJack v1.0
Written by
Rob Williams
WCS Software
_____________________________________________________________________
Table of Contents
-----------------
Copyright Notice................................................... 1
Warranty........................................................... 1
Features of WCS BlackJack.......................................... 2
Files used in the program.......................................... 3
Setting up WCS BlackJack........................................... 4
Setting up WCS BlackJack for Multinode Play......................... 5
Playing the game................................................... 6
Make-Up Days Explanation........................................... 7
Special Keys....................................................... 8
Support............................................................ 9
Registering WCS BlackJack.......................................... 9
Acknowledgements................................................... 10
Copyright Notice
----------------
This door game is distributed under the SHAREWARE concept. This
concept gives you the chance to "try before you buy", and see if it
meets your needs.
I've decided to break away from the standard "30 day trial period"
that many door authors are using and instead go to a much simpler
and more realistic policy. This is simply; Try it on your BBS.
If you like it and your users like it, then register it. If it's not
good enough to register, then delete it.
While I'd like you to register my doors as soon as possible, I'm also
realistic enough to know that different boards have different requirements
and interests, and sometimes it takes longer befor a game catches on, or a
sysop can get to the Doors on his list to register. And frankly, I'd
rather you ran it for awhile and register, than try it for a short
period of time and delete it. Nobody wins that way...I lose out on a
registration and your users lose out on the chance of having the
registered door to play.
The above "extended trial" statement was copied with permission from
Mike Jordan of M&S Doors.
As a shareware program, WCS BlackJack may be freely distributed.
Shareware distributors may distribute copies of WCS BlackJack on disk
for a modest disk duplication charge not to exceed $4 per disk.
Warranty
--------
WCS BlackJack is distributed on as as is basis. In no event will
Rob Williams or WCS Software be liable to you for damages, including
any loss of profits, lost savings, or other incidental or
consequential damages arising out of your use of or inability to use
this program, even if Rob Williams, WCS Software, or an authorized
representative has been advised of the possibility of such damages.
Rob Williams and WCS Software will not be liable for any such claim
by any other party.
Features of WCS BlackJack
-------------------------
Assembly language serial input/output routines for maximum speed.
Fully supports high speed modems: 16550 FIFO buffering and locked
serial ports.
Built in ANSI terminal emulator. No need to have ANSI.SYS loaded in
memory.
DesqView, Windows, and OS/2 aware.
Supports all of the most popular door data file formats:
TriBBS, PCBoard, GAP (DOOR.SYS), Spitfire, WildCat!, RBBS, and WWIV.
ANSI and ASCII Bulletins of high scorers.
Automatic monthly maintenance with no intervention from the Sysop.
Supports play ahead and make up days when registered. This is
completely sysop configurable.
WCS BlackJack is Multinode Aware!
Files used in the Program
-------------------------
BLKJACK.EXE - The main WCS BlackJack program
REGISTER.FRM - Information on registration
SAMPLE.CFG - Sample configuration file
SAMPLE.BAT - Sample batch file to run WCS BlackJack
HISCORE.DAT - Created when the program runs-contains hi score info
BJUSER.DAT - Created when the program runs-contains user info
BLKJACK.KEY - Key file for registered versions
BLKJACK.USE - Created when the game is running, will be deleted
when the user exits normally.
(only in single user/non-registered versions)
*************************************************************************
** IMPORTANT - The game will not run if this file (BLKJACK.USE) exists **
*************************************************************************
BLKJACK.HLP - Help file for the game. When the Instructions option
is selected, this file is displayed. You may edit
this file if you wish. It is a plain ASCII text file.
BLKJACK.HIS - History of the product. Shows what enhancements were
made in what version.
WCSINFO.TXT - A text file explaining more about WCS Software and
showing all currently available WCS Software programs.
READ.ME - A brief text file explaining how to get up and running
quickly.
Setting up WCS BlackJack
------------------------
WCS BlackJack is run by entering a command similar to the
following:
BLKJACK BLKJACK.CFG
The configuration file can have any name you choose, but it must
reside in the same directory as the door. The configuration file is
an ASCII text file with the following format:
Line 1: Door data file type.
Line 2: Path to the door data file(s).
Line 3: BBS name.
Line 4: Sysop's name.
Line 5: Locked baud rate.
Line 6: ASCII High Score Bulletin Name
Line 7: ANSI High Score Bulletin Name
Line 8: Number of Games per day
* Line 9: Number of extra days allowed for make up days
* Line 10: Day to start playing make up days-31 to disable
Line 11: Write log file (YES or NO)
* Line 12: Line to display a message (donated by, etc)
Line 13: Name you want the dealer to have
Lines with a "*" to the left indicate features only present in the
registered version of the program. *** The lines must be present,
even if the door is not registered. ***
As illustrated above, the door's data file type is specified in line 1
and can be PCB for PCBoard, GAP for GAP (DOOR.SYS), SF for Spitfire,
RBBS for RBBS, WC for WildCat!, TRIBBS for TriBBS, or WWIV for WWIV.
The locked baud rate is specified in line 5. If you don't lock your
serial port, you must specify 0 for the locked baud rate.
The following is a sample door configuration file:
************************************************************************
** IMPORTANT - If you are running WC 4.x, use the GAP drop file **
************************************************************************
WC <== BBS Type
C:\WC30\WCWORK\NODE1 <== Drop file location
WCS Software BBS <== BBS Name
Rob Williams <== Sysop Name
0 <== Locked baud rate
C:\WC30\BULL\BULL10.BBS <== ASCII bulletin
C:\WC30\BULL\BULL10.SCR <== ANSI bulletin
10 <== # of questions per day
2 <== Extra days allowed for make up days
10 <== Day to start make up days
YES <== Write a log file (BLKJACK.nodenumber)
By WCS Software <== Donated by line
Computers Name <== Name as you want it to appear for
the dealer
************************************************************************
** IMPORTANT - Even if the game is not registered, the last three **
** lines must exist, or the game will not run. You will get an error **
** when the game starts up. **
************************************************************************
WCS BlackJack can be run locally without a door data file (handy
for the sysop to use the door without logging on to the BBS) by
specifying /L after the configuration file parameter in the DOS
command line. WCS BJ will request you to enter your name before running
the door.
To play the game in Multiuser mode, you must have a registered multinode
copy,and DOS SHARE must be loaded. If these two things are not done,
the game will display a message if you try to run multinode.
Nonstandard IRQs can be used by specifying the IRQ number after the
"config" parameter in the command line used to run the door as
follows:
BLKJACK BLKJACK.CFG 4
Setting up WCS BlackJack for Multinode Play
-------------------------------------------
In order to set WCS BlackJack up for multinode play, you need to create a
.cfg file for each node that will be using the game. The .cfg files
will be similar, except that lines 2 and possibly 5 will be different.
Line 2 is the location of the door drop file. This needs to be unique
for each node that runs the game. Line 5 is the locked baud rate for
the node. If you have nodes that are locked at different rates, then
this line may be different for different nodes. For example, the
configuration file for node 1 (BLKJACK.CF1) might look like this:
GAP
H:\WILDCAT\WCWORK\NODE1 <=== Notice this is the node 1 directory
Williams Computer Services BBS
Rob Williams
19200
[etc].....
And the configuration file for node 2 (BLKJACK.CF2) might look like this:
GAP
H:\WILDCAT\WCWORK\NODE2 <=== Notice this is the node 2 directory
Williams Computer Services BBS
Rob Williams
19200
[etc].....
You will also need to set an environment variable to tell the program
what node it is currently running on. Since I run Wildcat, I call
this variable WCNODEID. In my .BAT file that calls the BBS, I set the
WCNODEID to whatever node is running. You can use wahtever name you
wish, it just needs to be a unique node ID.
Next, in the batch file that calls WCS BJ, you would change the sample.bat
that is included with this archive to look like this:
CD\BLKJACK
BLKJACK BLKJACK.CF%WCNODEID%
What this will do, is when the game is started, it will look for the
WCNODEID (or whatever you called it), and append that to BLKJACK.CF. So
when the game runs, and you run it from node 1 say, it will use .cfg file
BLKJACK.CF1.
Hopefully, I have not totally confused you on how to set the door up for
mult-node use. If you have questions on environment variables, refer
to your DOS manual.
**************************************************************************
** Running this game on more than a single node requires a Multi-Node **
** Key. When running in Evaluation mode, only one (1) Node will be able**
** to access the door at a time. **
**************************************************************************
Playing the Game
----------------
WCS BlackJack is very simple to play. When you enter the door, you
come to a menu of four options. They are:
P)lay WCS BlackJack - Starts the game
H)igh scores - Shows the high score bulletin
I)nstructions - Displays this file
Q)uit - Exits the game
Available Keys
--------------
After choosing the "P" option from the main menu, you are brought to the
main blackjack screen. From this screen there are four options:
[R]edraw Screen - Redraws the screen if you get line noise, etc.
Hi[G]h scores - Shows the high score bulletin
[I]nstructions - Displays this file
[Q]uit - Exits the game
After choosing [P]lay, you will be asked how much you wish to bet. Type
in your answer and press enter. Then, two cards will be dealt to you and
the dealer. You will only be able to see one of the dealers cards. After
that, you will be asked if you want to [H]it or [S]tand. If you want
another card, choose [H]it, if not, choose [S]tand. The object is to get
as close to 21 as possible without going over. If you beat the dealer, you
win the amount of money you bet. If you beat the dealer and get a BlackJack,
you win double your bet. If you get 2 cards totalling 11, you will be
asked if you want to double down. What that does is only give you one more
card, but your bet is doubled (hoping for a 10). If you get 2 10s, you will
be asked if you want to split. What that does is take the second card, save
it for a second hand, and allow you to play 2 hands, both with a 10 in them.
Your bet will be the same for the second bet, and when playing the second
hand, you will see "playing split hand" above the betting area. You
continue on playing hands until you run out of hands to play for today, or
you choose [Q]uit. Then you will be asked if you want to view the high
scores. Then you will be returned to the BBS.
Scoring
-------
Scoring is very simple. The more money you accumulate, the higher your
score. The scores are reset once a month.
When you go into the door, you will see an opening screen, it will
wait for you to press a key, then show you the main menu. From here,
there are four options. P will take you to the playing screen, H will
show you the high score list, I will show you a help file for playing
the game, and Q will return you to the BBS.
The first time a player plays the game each month, the system will
automatically reset the player statistics. This process should not
take more than a few seconds, and is automatic, so no intervention
from the Sysop is necessary.
Make-Up Days Explanation
------------------------
The make up days feature warrants a little more explanation here.
When the game is registered, after you have played your game for today,
it will check to see if make up days has been enabled (start day < 31).
If today is greater than the start day, and the total number of days you
have played is not greater than what was specified in the .cfg file, it
will ask you if you want to play a make up day. It will then show a
calendar of days for the current month. Days that you have played will
show up in red with an x, playable days will show up in green with an o.
Choose a valid date (one with an o, within the current month), and you
will start another days game. If you changed your mind and do not want
to play a make up day, enter 99, and you will be asked if you want to
view the high scores, then be returned to the BBS.
Special Keys
------------
While WCS BJ is running, the sysop can press certain special keys to
perform a variety of functions. The following is a list of the
functions that the special keys perform:
Key(s) Function
HOME Toggles between the user status window and a help
display that lists the special keys.
F6 Takes 5 minutes away from the caller.
NOTE: This will NOT be returned to BBS.
F7 Gives 5 minutes to the caller.
NOTE: This will NOT be returned to the BBS.
F9 Quit the door and return the caller to the BBS.
F10 Enter chat mode. Pressing the ESC key exits the
chat mode.
Alt+D Drop to DOS.
Support
-------
If you have problems, I will try and help as best I can, whether you
are registered or not. Registered users will get priority over non-
registered users, though. You may get help with problems by calling
Williams Computer Services BBS at (503) 631-8439, or by writing to
the author at the following addresses:
FIDO : 1:105/278
Internet via FIDO gateway : rob.williams@f278.n105.z1.fidonet.org
US Mail:
Rob Williams
18370 S. Henrici Road
Oregon City, OR 97045
Registering WCS BlackJack
-------------------------
Registration of WCS BlackJack is only $10.00 for single node
or $15.00 for Multi-Node. Please use the form in the file
REGISTER.FRM. When you register, you will receive a registration
key that will turn your version into a registered version.
Registered users will have access to the special area of the support
BBS for additional questions, and also be able to add new questions,
edit questions and users, print questions and users, and import and
export questions.
***** ALL UPDATES ARE FREE FOR THE LIFE OF THE PROGRAM *****
Acknowledgements
----------------
Thanks go to the following people/companies (Listed in no particular order):
- Mustang Software for creating Wildcat!
- Randy Hunt and Mark Goodwin for creating RMDoor which was used
to create this game.
- Mike Jordan for his help with some of the routines, and for the
idea of the make up days, and also help in testing, and his help
in helping me get started in door programming.
- Andy Stewart for his programming help, and also for creating the
main play screen.
- Marcus and Ronda Eikenberry for their help in testing and finding
a few stubborn bugs.
- Gayle Davis and all the people that have contributed to the
SWAG archives. I have used various snippets from those
archives, as well as them giving me good ideas on how to
proceed next. Thank you.
There are probably more people that I have forgotten, but these have been
the most instrumental in the writing of this program.