EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 184

Texas Instruments TI-99/4A
204 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Graphics Match
This
game
program
gives
an
example
of developing special
graphics
for your
own
use,
There
are
six different
graphics
characters
defined.
These
are: heart, cherry, bell. lemon. diamond.
and
bar. To play the
game
you need only to run the program.
The
computer
generates
three
random
numbers
in the
range
1 through
6.
Each
time
a
number
is
generated,
the
picture
corresponding
to
the
number
is displayed
on
the screen.
Scoring
depends
on how
many and in
what
way
the
three
pictures
match, When the
three
pictures
and
the
score
have
been displayed. you
are
offered the
choice
of
playing again.
These
statements
define the colors for
each
of the
characters.
The
colors
used
are:
Graphics
Character
Heart
Cherry
Bell
Lemon
Diamond
Bar
Color
Medium
Red
Medium
Red
with
Dark
Green
stem
Light
Blue with
Black
handle
Dark
Yellow
Dark
Green
Dark
Blue
Examples:
>NEW
>100
REM
GRAPHICS
MATCH
>110
CALL
COLOR(9,7,16)
>120
CALL
COLOR(10,13,16J
>130
CALL
COLOR(11,2,16J
>140
CALL
COLOR(12,6,16)
>150
CALL
COLOR(13,11,16)
>160
CALL
COLOR(14,5,16)
>170
CALL
CHAR(96,"00001C3E7F
7F7F7F")
>180
CALL
CHAR(97,"0000387CFE
F[FEFE")
>190
CALL
CHAR(98,"3F1FOF0703
01")
>200
CALL
CHAR(99,"fCF8FOEOCO
So")
C
E
E
E
E
C
H
o
o
o
o
o
o
Block
es
odes
Cod
00
00
00
00
Ie
x x x
x x
X
38
3E
X
X X X
X
X
X
X X
X
7
7F
X
X X X
X
X
X
X
X X X
X
X
X
F
7F
x
x
x x x
x
x
x
x x x
x
x x
F
7F
X
X
X
X
X X
X X
X
X
X
X X
X
F
7F
X
X X
X
X
X
X X
X X X
X X X
F
3F
X
X
X
X X
X X
X
X
X
X X
F
IF
X
X
X
X
X X
X
X X
X
F
OF
X
X X
X
X
X X X
F
07
X X
X X X X E
03
X
X X X
C
01
X X 8
00
0
00
0
Block
C
A white
background
is
used
for all
of
the pictures.
These
statements
define
the
heart.
111-28
User's
Reference
Guide

Other manuals for Texas Instruments TI-99/4A

Related product manuals