************************************************************
    ----    +---     ^     +----  --+-- |\    | +----+
      /     |       / \    |        |   | \   | |    |
     /   -- |      /___\    ---     |   |  \  | |    |
    /       |     /     \      |    |   |   \ | |    |
    ----    +--- /       \ ----+  --+-- |    \| +----+

               Z-Casino v1.0 by Doug Melton
                      November 1996
************************************************************
    Any problems, suggestions, questions, praise, money:
                e-mail: dx4@smartlink.net
            snail mail: Doug Melton
                        25616 Fedala Road
                        Valencia, CA 91355-2513

   check out my calculator web page:
   http://www.smartlink.net/~dx4/calculat20.html
************************************************************

Finally, my first Z-Shell game is here!

I have created ZCasino basically to learn Z80 assembler. It
contains BlackJack, Poker (5 card draw) and a Slot Machine.  
Here's how to play:

Playing ZCasino:
******************
When the program starts out, you have $100 with a $10 bet.  
In order to change your bet, press the up and down arrows.  
The minimum bet is $1 and the maximum bet is $65535 or the 
amount of money you have, whichever is lowest.  In order 
to change the game between Black Jack, Poker, etc., press 
the left and right arrows.  Press enter when you have made 
your bet and chosen your game.

Press exit or select exit and press enter to exit the game.

Playing BlackJack:
******************
You and the dealer are each dealt two cards, and if you have 
a BlackJack, you automatically win 3x your bet.  If not, you 
can hit or stand as you please.  Your total amount is shown 
at the top of the screen.  If your first two cards amount to 
10 or 11, you can double down, take one more card and double 
your bet.  If you have more than 21, you automatically lose.  
If you have 5 cards without busting, you automatically win.  
After you stand, the dealer hits if he has less than 17 and 
stands on 17.  Then if you have a higher score than the 
dealer, you win 2x your bet, otherwise you lose.

Playing Poker:
******************
You are dealt 5 cards.  If you want to hold a card, you 
press the F-key that is under the card you want to hold.  
Press enter to get dealt your second hand.  If you have any 
of the following hands, you win.

Hand             Pays
---------------------
Royal Flush       200x your bet
Straight Flush     50
4 of a Kind        25
Full House          9
Flush               6
Straight            4
3 of a Kind         3
2 Pair              2
Jacks or Better     1

Playing Slots:
******************
The slot machine is displayed.  Press enter to give the 
handle a crank.  The three slots will get filled up with 
some different icons.  If the first 2 or last 2 are the same, 
you win 2x your bet.  If all three are the same, you win a 
lot.

************************************************************
Things that aren't done yet:
************************************************************
> In BlackJack, insurance and forfeit are not implemented 
  yet.  They will be in a later release.
> The program could probably use a lot of optimization.

I am releasing the code so help can be given to me, but 
please don't release it in modified form.  Send all updates 
to me, and I will make them.  This is, after all, a learning 
experience for me, and what good would it be if you didn't 
give me suggestions?  Thank you very much.

************************************************************
People I guess I should thank (in random order):
************************************************************
Rodnay Zaks     - for all the good junk in PROGRAMMING THE Z80
Oskar Liljeblad - for the Nibbles source code which I copied some of
Andreas Ess	- for some help in optimization and being cool
Adam Schwarcz	- for making some cool graphics
		- <KSchwarcz@aol.com> if you want him to write grafix for you
Chris Busch	- for the random routine (such as it is)
Stephane Jantzen- for the ZCP routine
-^ViRuS^-	- for the "star" slot icon and beta testing

all the other people in the ZShell Mailing List and #Calc-Ti for 
saying cool stuff

.end