home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
M.u.C.S. Disc 2000
/
MUCS2000.iso
/
spiele
/
roulette
/
roulette.txt
< prev
Wrap
Text File
|
1985-11-19
|
5KB
|
133 lines
Roulette!
Do you care to match wits with lady luck? Roulette will test
your fortitude and resolve. This game features all of the
standard American casino bets and rules, and a wheel spinning
sequence demonstrates the STs 3-D graphics capabilities.
Playing the Game
The first thing you must do is place a bet. The chips
are located in the upper right portion of the screen. Their
values are $1 for white, $5 for red, $25 for green, $100 for
black, and $500 for magenta. To grab a one, point the mouse
at the desired one and hold the left button down while you
drag the chip to the chosen location. Releasing the button
will drop it in place. Moving an already placed bet is much
the same, point at the chip which is to be moved, hold the
left button down while it is being dragged, and let the
button go to drop the chip in place. To cancel a bet, simply
point to it and click the right mouse button.
It may be confusing when chips of one color are placed
on those of another color. If you need to find out how much
you placed on a spot, point the mouse at that spot and press
Ctrl-V. An alert will come up with the amount that is there.
Your current bet is displayed while you bet, and your
total bankroll is displayed during the game. If you run low,
you can press Ctrl-R for an increase to $10000.
Once you have made your wagers, you spin by either
pressing Ctrl-S or clicking the left mouse button on the
"Roulette" box in the upper right corner. After the wheel
spins, winning bets are paid and losing bets are removed.
Winning bets remain on the board so that you can play them
repeatedly. A marker appears indicating which number was
selected. It disappears when a button or key is pressed.
Several statistics are tracked during play. Pressing
Ctrl-C will display a screen with this information. Among
those shown are the last 20 results, red/black precentages,
odd/even percentages, and much more. Your bankroll is also
graphed in case you want to manage your money.
A reminder of these keypresses can be seen by pressing
HELP. UNDO will give some information about the program.
There is no table limit in this game except the
programming limitation of $32,000, but most casinos have
them. To simulate reality, observe your own table limits.
Playing Roulette
Bets may be placed on any marked rectangle. Roulette
also allows many bets between numbers. The bets can cover
from two to six numbers.
There are a wide variety of bets in roulette. Betting on
red and black is the best known wager. Some other common
wagers that pay the same 1:1 odds are betting on odd or even
numbers and betting on 1-18 or 19-36. The three columns,
which are to the right of the table image, all pay 2:1. These
same odds can be had by betting on 1-12, 13-14, or 25-36.
A wager on any one single number will pay 35:1. A wager
on any two numbers (the crack between them) will pay 17:1. A
wager on any three numbers (the top or bottom of a vertical
column of numbers) will pay 11:1. A wager on any four number
(the corner in the middle of the four numbers) pays 8:1. A
wager on any five numbers (only 0-00-1-2-3) pays 6:1. A wager
on any six numbers (the top or bottom crack between two
vertical columns of numbers) pays 5:1. The illustration
labeled "wagers" shows the available bets.
The Program Code
The program was written in Laser C. The table image was
drawn using VDI calls with a some bit images blitted to the
screen. The wheel images were drawn with DEGAS Elite and cut
using a specially written utility.
Animating the wheels was done by rotating the palette
and swapping several images of the crown. A timer keeps it
from going too fast and synchronizes it with the vertical
blank. These routines were done with in-line 68000 assembly
and no double buffering was used except to restore the
table.
All sounds used the Dosound call, and were created with
a special editor utility specially developed for making
sounds.
I hope that you enjoy the program, and even better, I
hope you break the bank!