Radio Shack TRS-80 PC-3 Owner's Manual page 205

Table of Contents

Advertisement

650: IF (X
= I)
THEN PRINT
"YOU ARE AT WEST EDGE": GOTO 670
660; X
=
X - 1
670; RETURN
700; PRINT "BOOM!!!!!!! YOU LOSE"
710; GOTO 800
750; PRINT "CONGRATULATIONS, YOU WIN"
800: INPUT "ANOTHER GAME? ";A$
810: IF ( LEFT$ (A$, 1) = "Y") THEN GOTO 40
820; END
If at west edge, don't do anything
Move one square west
And return
Display losing message
And go to common end
Display winning message
Ask about another ga me
Go again if first letter is "Y"
Otherwise end
205

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents