THIS INTERESTING concept for the 1K ZX-81 requires you to play the Detective, cross-questioning a series of murder suspects. You must first enter their names with the following short routine:
10—DIM A$(8,8)
20—FOR A=1 to 8
30—INPUT B$
40—LET A$(A,1 TO 8)=B$
50—NEXT A
That should be RUN and eight names of five letters or fewer should be entered. That routine should then be deleted—by typing-in the line numbers only—and the complete program entered.
Note that there is no need to enter the names again after the program has been taped, as the names are also saved. To run the program you must press GOTO 0—not RUN. The computer then takes a few seconds to establish the position of the suspects, who can be in towns A or B, in the N or S and E or W of that town.
You are then given the position of the murderer and must establish his identity. Do that by entering a number between 1 and 8 to choose a suspect. Inputting 1 will reveal the town where the suspect was at the time of the murder and 2 and 3 will discover his position in the N or S, E or W. After 12 questions you must make an accusation by entering the number of a suspect. If you want to arrest someone early, enter 9.
A diverting idea from Colin Cushings, of Harlow, Essex.
10 FOR N=1 TO 8
20 LET A$(N,6)=CHR$ (INT (RND*2)+38)
30 LET A$(N,7)=CHR$ ((INT (RND*2)*5)+51)
40 LET A$(N,8)=CHR$ ((INT (RND*2)*18)+42)
50 NEXT N
60 LET M=INT (RND*8)+1
69 FOR A=1 TO 12
70 PRINT AT 18,13;A$(M,6);" ";A$(M.7);" ";A$(M,8)
90 INPUT C
95 IF C=9 THEN GOTO 155
110 PRINT AT 0,13;A$(C,1 TO 5)
120 INPUT B
130 PRINT AT 11,15;A$(C,B+5)
135 PAUSE 200
140 CLS
150 NEXT A
155 PRINT "WHO DO YOU ACCUSE"
160 INPUT A
165 PRINT AT 11,13;"[illegible]"
170 IF A=M THEN PRINT AT 11,13;"CORRECT"
180 PRINT A$(M,1 TO 5)," DID IT"

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