Crossword Puzzle

Author(s): Theo Turk
Publication: LISTing Newsletter
Date: February - March 1988
Pages: 18-20

‘Borrowed’ from MAY/JUNE 1987 RAMTOP

April 1, 1987

At last, someone finally wrote an Electronic Cross-word puzzle that can be played on any TS1000/1500 Computer. With this program, you have a choice of solving the pre-programmed puzzle as listed here or entering your own puzzle by simply changing A$, B$ and C$; Lines 10-40.

When first run, the computer will ask you for a “size of puzzle”. A maximum size of (19 x 19) can be accomodated. Second, the computer will want to know the number of “Blocks” required. These are the “Black Squares” as seen on every cross-word puzzle.

Line 10 contains all of the “Across” information that will be scrolled at the bottom of your screen. Note: The data format, as typed in, is non-critical. Note: The first character in Line 10 MUST BE an Inverted “A” – Code 166.

Line 20 contains all of the “Down” information that will be scrolled at the bottom of your screen. Again-Note: The data format, as typed in, is non-critical. Note: The first character in Line 20 MUST BE an Inverted “D” – Code 169. The Inverted “A” and “D” characters are used to signal the computer to change signs when required and also MUST BE included.

Line 30 (B$) contains the “Answers” for Across and MUST BE typed in exactly as follows: Let B$=”(A0)JFK(A4)RAT(A8)..(” etc. Note: The last character, before the end quote mark, must be a “(” character.

Line 40 (C$) contains the “Answers” for Down and like Line 30 must be typed in as: Let C$=”(A0)JAW(A1)FLO(A2)KENNYROGERS(A4)..(” etc. Note: The last character, before the end quote mark, must be a “(” character.

The correct answer is determined by the number of letters between the last “)” and the next “(” character. Example: Let B$=”(A0)JFK(A4)…; the correct answer for (A0) across is “JFK” and is 3 letters long. Example: Let C$=”(A0)JAW(A1)FLO(A2)KENNYROGERS(A4)…; the correct answer for (A2) down is “KENNY ROGERS” and is 11 characters long.

Type in the program as listed, then RUN 1000. As soon as the program stops in Line 1050, then delete Lines 2-5,1000-1050. Run the program and enter “11” when asked for the size of the puzzle. Now, enter “22” for the no. of Blocks (Black Squares) required then enter – A3,A7,B3,B7,D0,D1,D5,D9,DA,E6,F3,F7,G4,H0,H1,H5,H9,HA,J3,J7,K3,K7.

You should notice that as you type in the 2nd character for each entry, a black square appears at that position. After inputting the last item, the screen will begin scrolling. Notice the sign indicates “Across”. This is the data that you entered into A$; Line 10. As soon as Line 10 has become depleted, the sign will automatically change to “Down”. This is the data that you entered into A$; Line 20.

To enter an answer requires (2) Key strokes. If you think the answer to (A0) “the missiles of October char.” happens to be -JFK-, then press “A” followed by “0”. The scrolling will stop. Enter “JFK”. Each character will appear on screen as you type it in. Now, one of two things will occur. If the answer is correct as typed in, the screen will start scrolling, after a short delay. If the answer is not correct, the computer will automatically erase it from the screen.

There isnt any final check to determine when all of the answers are right – the computer will judge each entry separately. To stop the program, press “Break”.

1   REM (followed by 750 X's)
2 LET Z$="C36441 + 116 (Zero's 0)".
3  LET Z$=Z$+"260D270D280D2628373438380029343C3300
CDBB023EFDBCC9C5D5E5CDD14038FB444DCDBD077EF5CDD140
30FBF1E1D1C1C9217C40CDD840FE2638F9BE30F657329A40
2BCDD840FE1C38F9BE30F6329940D61C5F0121002A0C40230909
7EBA20FB2323160019229540C911FFFF062519D010FE0000
18F6221640CD1C11D8234E234678B1C9E5ED5B854021C540010100
FEA6280621CB40012100ED439740010600EDB0E1C9"
4 LET Z$=Z$+"2A0C4011B60219228740114F001922854021BF40CD3641
382328260BED438F402322894021C140CD364138102813ED439140
23228B4021C340CD3641DA4B0D20053E0D320040ED439340
23228D40CD2A0A2A0C40232323220E403A2140FE053804FE13380A
213C00CDD809222940C947C53E1CD73C10FC327B403E76D7D7
C1483E26C5F5D7AFD73E1BD70D20FC3E76D7F13CC110ED327C40C9
CDF1403680010500CD350FC9"
5 LET Z$=Z$+"AF3222402A89407E325B40FEA6CC4441FEA9CC4441545D
23ED4B8F40EDB0E5ED5B8740213C40012000EDB0E12B113C401A77
213D40011F00EDB0216400CD2941CDD140DA0D42CD460F
D0CDF1402A8B40ED4B91403A9740CB6F28072A8D40ED4B9340
0B78B1CA0D427EFE102320FA56235EE52A9940A7ED52E120E7
119B403A7B40D61C470E00237EFE112002237EFE10280512130C10F5
79A7CA0D42C5D52A9540ED4B97407EFE80280BCDD840
CDCE1430F8127713097EA72808FE762804FE8020E8E1C1119B40
1ABE200513230D20F721B80BCD294179A7CA0D42
2A9540ED4B97407EA7CA0D42FE76CA0D42FE80CA0D42361B0918EC"
Lines 3-5, machine code hex strings
Lines 3-5, machine code hex strings
10 LET A$="(A0)The missiles of October char. (A4)The xxx patrol (60's
series (A8) Actress Smithers (B0) Pub staple (B4) Old Mcdonald
refrain (B8) Lupino (C0) Diane prince (D2) Fall mo. (D6) Title
for Hitchcock (E0) Meadows and Mansfield (E7) Lynda's costar
(F0) Hockey great (F4) Consolation prize (F8) In the xxx (ready
to air) (G0) Kind of collar (G5) Actor Christopher (H2) xxx Smart
(H6) Actor Vallone (I0) Hit since 1977 (J0) Dialog-writers asset
(J4) The elephant xxx (J8) NBC s company (K0) Pluto (K4) Adam xxx
of rock (K8) Iniquitys home "
20 LET A$=A$+"(A0) Maxilla (A1) Ziegfeld (A2) Singer-actor
(A4) Actor Christopher et al. (A5) xxx Supply of pop music
(A6) Pulls (A8) Garner role (A9) Nabokov book (AA) Actress
Martin (C3) Actor Murray (C7) Clampetts source of wealth
(E0) xxx Kidd (1972 film) (E1) Fleming of game-show fame
(E5) Plant (E9) Glashegian negative (EA) Newhart setting
(F6) The xxx trap (1961) (G3) xxx Blu Dipinto Blu (G7)
Frankensteinian milieu (H4) TV series, 1973-74 (I0) WJN
Anchor (I1) Bali xxx (I5) Actor Johnson (I9) Persona for
Snoopy (IA) Seaside acquisition "
30 LET B$="(A0)JFK(A4)RAT(A8)JAN(B0)ALE(B4)EIO(B8)IDA(C0)
WONDERWOMAN(D2)NOV(D6)SIR(E0)JAYNES(E7)LONI(F0)ORR(F4)
SOP(F8)CAN(G0)ETON(G5)WALKEN(H2)GET(H6)RAF(I0)THELOVEBOAT
(J0)EAR(J4)MAN(J8)RCA(K0)DIS(K4)ANT(K8)DEN("
40 LET C$="(A0)JAW(A1)FLO(A2)KENNYROGERS(A4)REEVES(A5)AIR(A6)
TOWS(A8)JIMROCKFORD(A9)ADA(AA)NAN(C3)DON(C7)OIL(E0)JOE
(E1)ART(E5)SOW(E9)NAE(EA)INN(F6)PARENT(G3)NEL(G7)LAB
(H4)TOMA(I0)TED(I1)HAI(I5)VAN(I9)ACE(IA)TAN("
50 LET BLOCK=16893
60 PRINT AT 21,0;"ENTER SIZE OF PUZZLE..."
70 INPUT A
80 POKE 16417,A
90 RAND USR 16514
100 PRINT AT 21,0;"ENTER NO. OF BLOCKS RECQ..."
110 INPUT A
120 FOR B=1 TO A
130 RAND USR BLOCK
140 NEXT B
150 RAND USR 16905
160 STOP

1000 LET A=16514
1010 POKE A,16*CODE Z$+CODE Z$(2)-476
1020 LET A=A+1
1030 LET Z$=Z$(3 TO)
1040 IF Z$<>"" THEN GOTO 1010
1050 STOP

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