House of Horrors

See all articles from SYNC v2 n5
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")
Drawings of a werewolf, a vampire and Frankenstein's monster ("EEK!")

You are trapped in the dreaded “House of Horrors.” Naturally it is filled with monsters, mummies, skeletons, and strange creatures. Secret passages and mysterious rooms confront you with danger and yet offer the only way out. Your goal is to escape from the house alive.

As you move through the rooms, you find various items to help you survive, but you do not know exactly what they will be. So you must depend upon your wits, memory, and logic to escape.

The full House of Horrors program requires somewhat over 2K RAM. As a result, it is split into two sections. Type in Listing 1 and SAVE it. Do not kill the program, but enter the changes in Listing 2 and SAVE the program again. Now LOAD Listing 1 from your tape and RUN it. This part of House of Horrors fits into 2K RAM. It can be played as a game in itself for those who have only 2K RAM, and it is a segment of the game for those who have enough memory for the lower level. When the prompt “READY CASSETTE” appears on the screen, you have reached the end of the game if you have only 2K RAM.

However, if you have more RAM, set the tape at the beginning of Listing 2, hit NEWLINE, and press the play button on your tape recorder. When the LOADing is finished, press RUN and NEWLINE to continue your efforts to escape.

While the program was written for the 4K ROM, it should not be difficult to translate to 8K ROM. This will require changing the PEEK addresses, the array subscripts, some of the character codes, logical expressions, and the TL$ function, e.g., 310 would become LET R$=R$(2 TO ).

For users with enough memory the game can be made more complex by increasing the number of rooms and items available.

Listing 1. The House of Horrors (Upper Level).

  10 REM 172863OUTSIDE,KITCHEN,B
AR,LIVING ROOM,DINING ROOM,PIT,L
IBRARY,BEDROOM,HALL,KNIFE,SCROLL
,WINE,KEY,BOOK,ROPE,GO RUNWALCLI
JUMGETTAKDROLEALOOOPEREADRIINVSH
A
20 DIM I(5)
30 FOR J=0 TO 5
40 LET I(J)=PEEK(J+16427)-28
50 NEXT J
60 PRINT "HOUSE OF HORRORS"
70 PRINT
80 LET R=0
90 PRINT "YOU ARE ";
100 IF R THEN PRINT "AT THE ";
110 LET X=7
120 LET Q=R
122 LET P=16432
124 GO SUB 9000
130 PRINT
140 PRINT "ITEMS HERE:"
145 LET F=0
150 FOR Q=0 TO 5
160 LET P=16501
165 LET Z=R
170 LET X=5
175 IF F=1 THEN LET Z=0
180 IF I(Q)=Z THEN GO SUB 9000
190 IF I(Q)=Z THEN PRINT
200 NEXT Q
210 PRINT ":"
220 INPUT R$
230 CLS
240 LET P=16534
250 FOR J=1 TO 15
260 IF CODE(R$)=PEEK(P) AND COD
E(TL$(R$))=PEEK(P+1) AND CODE(TL
$(TL$(R$)))=PEEK(P+2) THEN GO TO
310
270 LET P=P+3
280 NEXT J
290 PRINT "I DONT UNDERSTAND"
300 GO TO 210
310 LET R$=TL$(R$)
320 IF R$="" OR CODE(R$)=0 THEN
GO TO 330
325 GO TO 310
330 LET R$=TL$(R$)
340 GO TO (J+3)*100
400 LET Z=1
410 IF R$="N" OR R$="S" THEN LE
T Z=3
420 IF R$="W" OR R$="N" THEN LE
T Z=Z*-1
430 IF R$="N" OR R$="S" OR R$="
E" OR R$="W" THEN GO TO 460
440 PRINT "N:S:E:W"
450 GO TO 210
460 IF R+Z<9 AND R+Z>0 THEN GO
TO 490
470 PRINT "THERE IS NO WAY TO G
O ";R$
480 GO TO 210
490 LET R=R+Z
495 GO TO 90
800 GO TO 400
900 GO SUB 1900
905 IF NOT I(J)=R THEN GO TO 19
70
910 LET I(J)=0
920 PRINT "OK."
930 GO TO 210
1000 GO TO 900
1100 GO SUB 1900
1110 IF NOT I(J)=0 THEN GO TO 21
0
1115 LET I(J)=R
1120 GO TO 920
1200 GO TO 1100
1300 GO TO 90
1400 PRINT "I CANT"
1410 GO TO 210
1500 IF R$="SCROLL" OR R$="BOOK"
THEN GO TO 1510
1505 GO TO 1400
1510 IF R$="SCROLL" AND I(1)=0 T
HEN PRINT "IT SAYS ESCAPE BY THE
PIT"
1520 IF R$="BOOK" AND I(4)=0 THE
N PRINT "IT SAYS MAGIC WORD (SHA
ZAM)"
1530 IF (R$="SCROLL" AND I(1)=0)
OR (R$="BOOK" AND I(4)=0) THEN
GO TO 210
1540 PRINT "YOU DONT HAVE IT"
1550 GO TO 210
1600 IF I(2)>0 THEN GO TO 1540
1610 IF R$="WINE" THEN GO TO 200
0
1620 PRINT "YOU CANT DRINK ";R$
1630 GO TO 210
1700 PRINT "YOU ARE CARRYING:"
1710 LET F=1
1720 GO TO 150
1800 PRINT "POOF YOU APPEAR IN T
HE PIT"
1810 PRINT "READY CASSETTE?"
1820 INPUT R$
1830 LOAD
1900 LET P=16502
1910 FOR J=0 TO 5
1920 IF CODE(R$)=PEEK(P) AND COD
E(TL$(R$))=PEEK(P+1) THEN RETURN
1930 LET P=P+1
1940 IF NOT PEEK(P)=216 THEN GO
TO 1930
1950 LET P=P+1
1960 NEXT J
1970 PRINT "I SEE NO ";R$;" HERE
"
1980 GO TO 210
2000 PRINT "IT WAS POISON"
2010 PRINT "YOU ARE DEAD"
2020 STOP
9000 FOR J=0 TO X
9010 IF J=Q THEN GO TO 9050
9020 LET P=P+1
9030 IF NOT PEEK(P)=216 THEN GO
TO 9020
9040 NEXT J
9050 LET P=P+1
9060 IF PEEK(P)=216 THEN RETURN
9070 PRINT CHR$(PEEK(P));
9080 GO TO 9050

Listing 2. The House of Horrors (Lower Level Extension).

  10 REM 137637,PIT PASSAGE,CRYP
T,MAZE,TUNNEL,EMPTY ROOM,TREASUR
E ROOM,LAVA PIT,SWORD,KEY,CHEST,
DOOR,MUMMY,SKELETON,GO RUNWALCLI
JUMGETTAKDROLEALOOOPEKILXXXINVXX
X
60 PRINT "ALL YOUR ITEMS ARE G
ONE"
80 LET R=1
90 IF R=8 THEN GO TO 2000
91 PRINT "YOU ARE#";
110 LET X=8
122 LET P=16432
160 LET P=16497
240 LET P=16534
332 IF NOT J=12 AND ((R=3 AND I
(4)>0) OR (I(5)>5 AND R=7)) THEN
GO TO 350
350 PRINT "MONSTER WONT LET ME"
360 GO TO 216
908 IF J>2 THEN GO TO 1130
1130 PRINT "ARE YOU CRAZY?"
1140 GO TO 210
1470 IF R$="DOOR" AND I(1)=0 THE
N GO TO 3000
1480 IF R$="DOOR" OR R$="CHEST"
AND I(1)>0 THEN PRINT "I CANT"
1490 IF R$="CHEST" AND I(1)=0 TH
EN PRINT "ITS EMPTY"
1495 GO TO 210
1500 IF R$="ME" THEN GO TO 2010
1505 IF I(0)>0 THEN GO TO 1580
1510 IF R=3 AND R$="MUMMY" THEN
LET I(4)=-1
1520 IF R=7 AND R$="SKELETON" TH
EN LET I(5)=-1
1530 GO TO 210
1580 PRINT "WITH WHAT MY HANDS?"
1585 PRINT "IT ATTACKED YOU"
1590 GO TO 2010
1900 LET P=16498
2000 PRINT "YOU FELL IN"
3000 PRINT "YOU HAVE ESCAPED"
3010 STOP

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.