Casio FX-795P Owner's Manual page 71

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

@ Variables List
7
Variable
Role
Variable
Role
AS
For keys and characters
K
Loop control variable
A(1, 1) | Position of the spade ( #)|[M
For calculating prize
A(i, 2) | Position of the heart ( #)
N
For horse number
A(1, 3) | Position of the diamond
Pp
Number of players
(#)
128
6-2
Horse Race Game
e@ Game Description
One to five persons can play this game with each player starting with $20.00.
There are 4 horses numbered from 1 to 4 with 1 being the spade # , 2 the heart
# , 3 the diamond #, and 4 the club # . Select a horse from 1 to 4. A player
selecting 0 passes a race since there is no horse numbered 0.
The odds on each horse' are displayed for each race. If the horse selected by a
player wins, the player receives an amount equal to the odds times his bet. If the
selected horse does not win, the player loses his bet. If a player's holdings drop
to 0, he must drop out of the game. Game is over when all player's lose their
holdings.
Following is a description of the sequential displays and key operations in a
sample game.
1) Start game.
IWIN
xt) (Displays title.)
(Describes horse.)
2) Input number of players.
How
tans
Players
7
2
(Enters 2 for two players.)
Su
cr)
(nitial holding.)
ALL
PLAYERS
HAVE
$28
(First race.)
: FE A C E
i
3) Input horse and bet.
(Holdings of player 1)
P L A i E R
2 A
(Odds displayed.)
RATE
#
#7
12
4
2)
3
3}
4
4
4
4
(Inputs horse of player 1.)) FE
i+
#
2
oe
+
7
a
i?
Selects # horse)
PLAYER 1 # MONEY ?
Ve
(Bets $10.00)
180
(exe)
(Holdings of player 2)
PLAYER
(Odds displayed.)
FATE
#*
aod
{Inputs horse of player 2.) FE
SS
é*
4
1 7
(3)
(Seiects # horse.)
F L A Wy E FE
(5S)
(Bets $5.00)
sa tl oe
129

Advertisement

Table of Contents
loading

Table of Contents