EasyManua.ls Logo

Radio Shack TRS-80 PC-3

Radio Shack TRS-80 PC-3
289 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...
Program
Title: BUGHUNT
OVERVIEW
This
is
a
game
involving a
man
chasing
after
a bug.
CONTENTS
The
bug
moves
according
to
random
numbers.
The
man
chases
the
bug
and
kills it.
eli)
The
man
moves
by
using
the
GJ
+
C§J
keys.
(INKEY$
is
used)
CD
Each
time
the
man
moves
one
space,
so
does
the
bug.
(Sometimes
the
bug will
stay
in
the
same place.)
Initially,
the
man
is
in
position
(0,0).
The
bug
is
placed
at
a
position
that
was
chosen
at
random.
Hints are
displayed
as
distance.
The
distance
is
displayed
by
the
ASS
(X
-a)
+
ASS
(Y
-b)
equation.
The
initial
energy
level
is
100.
This decreases by 1
with
time.
Each
time
that
a bug
is
killed,
the
energy
increases by 5, 10,
or
15. (The
amount
is
chosen
randomly.)
The
score
is
determined
by
how
many
bugs
were
killed
when
the
energy
level
reaches
O.
(The
position
of
the
bug
may
"warp"
when
cornered.)
The
program
can
be
started
by
either
pressing RUN
(ENTER)
or
@0
CXJ
.
281
y
9
8
7
6
5
~
<
4
3
2
1
0
X
0
1 2 3
4
5
6
7
8 9
Position
of
the
man
(X, Y)
Position
of
the
bug (a, b)

Table of Contents

Related product manuals