Download "user manual"

Transcript
title screen. This will use
The nex t sub rou tine calls up the
r In the han gm an
some of the gra phi cs cre ate d late
ear on the ngh t-ha nd side of
subroutine. These gra phi cs app
t in min d whe n dec idin g
the screen, so this should be kep
s.
whe re to pla ce the text instruction
o
39
0
~'"
~
~
I'\,
+
~
:
2.if
ts. The first section, gIv en
The title seq uen ce has two par
en, the sec ond gives the
bel ow, gives the init ial title scre
game. Lin e 2010 clea rs the
scr een for the beg inn ing of the
the pro gra m to the
screen. Lines 2020 to 2040 sen d
ava ilab le in the han gm an
app rop riat e sec tion of gra phi cs
s will be exp lain ed late r in
subroutine, stages four to ten. Thi
f, the hangman ima ge is
that sec tion of the pro gra m. In bne
h wro ng guess or "life" lost.
bui lt up in ten stages, one for eac
the Word "HA NG MA N" ten
The PRINT com ma nd positions
ing at the twe lfth colu mn
row s dow n the screen, beg inn
ted to pre ss the RETURN
across. The pla yer is then inst ruc
key to start the gam e.
200 0
o 201
0
20
20
o 203(1
o
F:EJ'1 TIT LE
F'F.: I tH" :J"
FOP L==4 TO 10
90 0!S 00 0
GO SU B7 50 0,7 68 0,7 70 0J7 80 0,7
ON L-4
L
t'~f::<T
' "'HAt'~Gr'1AN"
F'F.: I t-n LEFT$ <UD$; ., 10::' SF'C':: 12; PRESS ENTER"; A$
:tq!!r~r~r!ll~r~[~It'.[~l
I t··/F'UT" ~~I.'1
A- ..
21
o
o