Zombie

Developer(s): Keith Skapinski
Date: 1991
Type: Program
Platform(s): TS 2068
Tags: Game

A maze chase: eat the dots while a zombie hunts you. Clearing the maze starts a new one, and the high score is kept until the program is reloaded or run again.

RUN it, press 1, 2 or 3 for the difficulty, and move with 5 (left), 6 (down), 7 (up) and 8 (right) or a Kempston-compatible joystick. Line 430 saves the program to a Larken disk and needs the Larken ROM: it resets a stock TS2068 if jumped to, and the game does not use it. The letters A and B printed in lines 140 to 180 and 300 are restored to the user-defined graphics they stand for.

Published in LISTing April 1991 (Zombie), and printed again in June-July 1991 and June-July 1993.

Related Articles

*** ZOMBIE *** BY KEITH SKAPINSKI
A reprint of Keith Skapinski's TS2068 maze game from April 1991: eat the dots while a zombie hunts you, at three levels of difficulty.
A 1993 reprint of Keith Skapinski's TS2068 maze game: eat the dots while a zombie hunts you, at three levels of difficulty.

Image Gallery

Source Code

   1 GO SUB 410
  10 REM ***   ZOMBIE    ***
  20 REM BY KEITH SKAPINSKI
  30 REM
  40 FOR i=USR "a" TO USR "b"+7
  50 READ a: POKE i,a: NEXT i
  60 DATA 255,0,255,0,255,0,255,0,66,36,189,173,255,36,36,102
  70 LET h=0
  80 LET s=1
  90 CLS : PRINT "Difficulty Level? (1-3)"''"1=Easy 3=Hard"
 100 LET q$=INKEY$: IF q$<"1" OR q$>"3" THEN GO TO 100
 110 LET l=(VAL q$+2)/5: CLS
 120 LET x=15: LET y=16: LET a=5: LET b=16
 130 CLS
 140 PRINT "\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a"
 150 FOR i=1 TO 19: PRINT AT i,0;"\a..............................\a": NEXT i
 160 PRINT "\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a"
 170 FOR i=2 TO 18 STEP 2: PRINT AT i,2;"\a\a\a.\a\a\a.\a\a\a.\a\a\a\a.\a\a\a.\a\a\a.\a\a\a": NEXT i
 180 PRINT AT x,y;"©": PRINT AT a,b; OVER 1;"\b"
 190 IF a=x AND b=y THEN GO TO 330
 200 IF s/372=INT (s/372) THEN BEEP 1,1: LET s=s+1: GO TO 120
 210 LET x1=x: LET y1=y: LET a1=a: LET b1=b
 220 LET x=x+(INKEY$="6" OR IN 31=4)-(INKEY$="7" OR IN 31=8)
 230 LET y=y+(INKEY$="8" OR IN 31=1)-(INKEY$="5" OR IN 31=2)
 240 IF CODE SCREEN$ (x,y)=0 THEN LET x=x1: LET y=y1: BEEP .01,10
 250 IF SCREEN$ (x,y)="." THEN LET s=s+1: BEEP .0001,60
 260 IF RND<l THEN LET a=a+(x>a)-(x<a): IF CODE SCREEN$ (a,b)=0 THEN LET a=a1
 270 IF RND<l THEN LET b=b+(y>b)-(y<b): IF CODE SCREEN$ (a,b)=0 THEN LET b=b1
 280 IF s>h THEN LET h=s
 290 PRINT AT 21,0; INK 2; INVERSE 1;"  SCORE: ";s,"HI-SCORE: ";h,
 300 PRINT AT a1,b1; OVER 1;"\b"
 310 PRINT AT x1,y1;" "
 320 GO TO 180
 330 PRINT AT 10,10; FLASH 1;" GAME  OVER "
 340 BEEP 1,0: BEEP 1,0: BEEP .1,0: BEEP 1,0: BEEP 1,3: BEEP .5,2: BEEP 1,0: BEEP .5,-1: BEEP 1,0
 350 DIM a$(704): FOR i=0 TO 7: BEEP .001,i+40: PRINT AT 0,0; INK i; OVER 1;a$: NEXT i
 360 CLS
 370 PRINT AT 10,1; FLASH 1;" PRESS ANY KEY FOR ANOTHER GO "
 380 IF INKEY$="" THEN OUT 254,RND*255: GO TO 380
 390 BORDER 7: GO TO 80
 400 STOP
 410 CLS : PRINT AT 10,5;"KEMPSTEN COMPATABLE": PAUSE 150
 420 RETURN
 430 CLEAR : RANDOMIZE USR 100: OPEN #4,"dd": PRINT #4: SAVE "ZOMBIE.BA"

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