PROGRAM DRWPOK,1.4(004) _________________________________________________________________________ Statement of Ownership & End User Agreement This program is the sole & exclusive property of David A. Krecklow PO Box 2513 Bakersfiled, CA 93303 Tel: 805/325-1004 This game may be used freely by all parties as long as this statement of ownership remains unchanged. No charge is to be made for this program without approval of the owner. No part of this program may be sold or distributed for sale or incorporation into other programs without approval of the owner. Users may wish to register with the owner at the above address. Comments, suggestions and bug reports are welcome & appreciated. Source code is available for a nominal fee. All rights reserved - 1993 - David A. Krecklow End of statement. _________________________________________________________________________ DRAW POKER - by David A. Krecklow This is a game of draw poker much like you see on card machines or pocket games. You play a one-handed game betting against the house. When you begin the house spots you an amount of points determined by an initialization file. (The ini file is explained at the end of this document.) Place a bet. If there is an ante that amount is taken automatically. The box to the side tells you the minimum and maximum bets allowed (also set in the ini file). If you do not enter an amount or you enter an amount less than the minimum, your bet is set to the minimum. When your bet is placed enter RETURN to deal the cards. Five cards are then delt to you. You may then discard any card you do not want. Enter the number that appears below the card. An X appears next to the number of discarded cards. If you make a mistake or change your mind just enter the number again to hold the card. You may discard all five cards if you wish. (DO NOT enter a RETURN after the number. Many of the commands in this program require only a single keystroke.) Enter RETURN when you are ready to draw new cards. New cards are delt and your hand is tallyed and payed. Payout is based on a scale set in the ini file. This game is 'Jacks or Better', therefore a single pair of less than Jacks does not pay. The payout is your bet times the pay ratio for the winning hand plus the ante. If you bust (total score of zero) or don't have enough points left to cover the ante+minimum bet, the game is over. If you still have points (win or loss on the hand) you may now choose to deal another hand or quit the game. Enter RETURN to start another hand. Enter S to shuffle the deck and start another hand or enter D to togggle the discard display on/off, shuffle the deck and start another hand. Enter Q to quit the game (see high score below). The deck will automatically shuffle when a set number of cards has been delt (value set in ini file). You may force the shuffle sooner if you like (see above). The lower left portion of the screen shows the delt cards. This may be turned off or on during play by entering a D betwwen hands or may be set in the ini file before starting the game. High Scores A high score file is created the first time that you quit the game with points remaining. Be sure to play the game in the same account each time if you want the high scores to accumulate correctly against other players. The first time you are asked to 'Enter the casino name'. This is a title which will display over the high score box each time. The date and score are recorded for you, so just enter your name. The name of the file is DRWPOK.HGH. The Initializtion File An optional initialization file may be set up to customize the game. If you don't set up the ini file the game has set values that will be used. The file is called DRWPOK.INT and my be edited with VUE. The file should exist in the account you are playing the game in. Below is a sample file. :T ; Init file for DRWPOK game ; set wagering amounts WAGEANTE=2 WAGESPOT=200 WAGEMBET=10 WAGELIMT=250 ; set break the bank amount BUSTBANK=5000 ; set the pay out ratios POUT1PAR=1.5 POUT2PAR=1.75 POUTTKND=2.0 POUTSTRT=3.0 POUTFLSH=4.0 POUTFHSE=5.0 POUTFKND=10 POUTSTFL=50 POUTRLFL=100 ; set the deck display & values DECKSHOW=1 DECKDELT=42 DECKHLN2=Keep BIG DAVE'S Green & Golden - Bring Money DECKLOG1= DECKLOG2= DECKLOG3= Big Daves DECKLOG4= Casino DECKLOG5=Weedpatch CA DECKLOG6= DECKLOG7= ;end of ini file Any line that starts with a semi-colon(;) is ignored so you may make comments or turn off settings without deleting them. A :T causes the ini file to list on the screen at the start of each game. Each entry must be the eight characters shown followed by an equal sign and either a numeric value or text depending on the variable. The four values That begin with WAGE are ANTE the amount of the automatic ante SPOT the initial amount you start each game with MBET the minimum bet you may place LIMT the maximum bet you may place The BUSTBANK entry set the total points that will bust the house. If your total score exceeds this amount the game ends. The POUT sets the payoff ratios for the winning hands. 1PAR is for one pair (Jacks or Better) 2PAR is for two pair TKND is for three of a kind STRT is for a straight FLSH is for a flush FHSE is for a full house FKND is for four of a kind STFL is for a straight flush RLFL is for a Royal flush (Ace high) The DECK entries set up the display of discards, the shuffle deck value, and the logo on the back of the cards and above the cards. DELT is the number of cards delt before a shuffle will automatically occur. SHOW is either 0 or 1 and turns on or off the discard display at the beginning of the game. HLN2 is displayed on line two right above the delt cards and may be any phrase you choose. LOG1-7 are the seven lines displayed on the face down cards. Up to 12 characters for each line may be used. Each line is centered but sometimes it looks better to add a space in front of the phrase to balance the look of the logo. Blank entries will blank out the default settings in the game. System Requirements This program has been compiled using the BASIC 1.3 or OCMPIL compilers and so should be compatible with all AMOS versions. Only standard Alpha-Micro subroutines are used. The following are used: TRMCHR ODTIM ECHO ACCEPT NOECHO SLEEP Inclusion in system or user memory is not required but may produce faster results with less system overhead. TRMCHR & ODTIM are called only once and so loading them would result in very little gain. The following command file may be used with the game. ;sample command file for DRWPOK :R LOAD BAS:ECHO.SBR LOAD BAS:NOECHO.SBR LOAD BAS:SLEEP.SBR LOAD BAS:ACCEPT.SBR ; some AMOS 2x systems may need ORUN DRWPOK RUN DRWPOK All terminals maybe used. Terminals with block fill & box drawing will respond faster. Full color AM-72 support is provided and looks great (sorry AM-70 color is not supported). All rights reserved - 1993 - David A. Krecklow .