Home » Personal collection » Acorn tapes » Own_Work » drawer_bm_tape01b_d90_acorn_woozy.wav » CHAL2
CHAL2
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn tapes » Own_Work » drawer_bm_tape01b_d90_acorn_woozy.wav |
Filename: | CHAL2 |
Read OK: | ✔ |
File size: | 069D bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF8023 |
File contents
10 20 30 @%=&00900 40 YOU1=0 50 YOU2=5 60 LEVEL=1 70 DEAD=0 80 NUMBER=0 90 DIM CO(9,9) 100 FOR A=1 TO 9 110 FOR B=1 TO 9 120 CO(A,B)=0 130 NEXT B 140 NEXT A 150 SCORE=0 160 MODE 5 170 COLOUR 130 180 CLS 190 COLOUR 1 200 HIGH=0 210 PRINT TAB(10,3);"YOU GOT";SCORE 220 SCORE=0 225 HIGH_NAME$="WOOZY" 230 PRINT TAB(0,31);"PRESS A KEY TO PLAY"; 240 PRINT TAB(1,1);HIGH_NAME$;" ";HIGH 250 PRINT TAB(7,10);"CHALLENGE";TAB(7,12);"CHALLENGE" 260 Z$=INKEY$(1) 270 IF Z$<>""THEN GOTO 330 280 SOUND 1,-1,100,3 290 Z$=INKEY$(1) 300 IF Z$<>""THEN GOTO 330 310 SOUND 1,-1,52,3 320 GOTO 260 330 CLS 340 GCOL 0,1 350 FOR H=10 TO 1100 STEP 100 360 MOVE 10,H 370 DRAW 1000,H 380 NEXT H 390 FOR V=1 TO 1100 STEP 100 400 MOVE V,10 410 DRAW V,1000 420 NEXT V 430 VDU 28,16,31,19,0 440 BLOCK=RND(10) 450 BLOCK2=RND(10) 460 BLOCK=BLOCK-1 470 BLOCK2=BLOCK2-1 480 IF CO(BLOCK,BLOCK2)=1 THEN NUMBER=NUMBER+1:PRINT NUMBER:GOTO440 490 BLOCK=BLOCK*100 500 BLOCK2=BLOCK2*100+5 510 FOR TIMES=0 TO 100 520 MOVE BLOCK+TIMES,BLOCK2 530 DRAW BLOCK+TIMES,BLOCK2+100 540 NEXT 550 CO(BLOCK/100,(BLOCK2-5)/100)=1 560 KEY$=GET$ 570 IF KEY$="Z" THEN YOU1=YOU1+100 580 IF KEY$="X" THEN YOU1=YOU1-100 590 IF KEY$=":" THEN YOU2=YOU2-100 600 IF KEY$="/" THEN YOU2=YOU2+100 610 IF CO(YOU1/100,(YOU2-5)/100)=1 THENDEAD=DEAD+1:IF DEAD=4 THEN IF SCORE>HIGH THEN 820 615 IF DEAD=4 GOTO 230 620 GCOL 0,3 630 FOR TIMES=0 TO 100 640 MOVE YOU1+TIMES,YOU2 650 DRAW YOU1+TIMES,YOU2+100 660 NEXT 670 CO(YOU1/100,(YOU2-5)/100)=1 680 SCORE=SCORE+1 690 IF YOU1/100=9 AND YOU2(-5)/100=9 THEN LEVEL=LEVEL+1:SCORE=SCORE+100:YOU1=0:YOU2=5:CLG:CLS:IF LEVEL=15 THEN GOTO 720 ELSE 340 700 GCOL 0,1 710 GOTO 440 720 MODE 6 730 PRINT TAB(10,10);"WELL DONE!" 740 PRINT TAB(10,11);"YOU HAVE" 750 PRINT TAB(10,12);"COMPLETED" 760 PRINT TAB(10,13);"CHALLENGE" 770 PRINT"YOU SCORED ";SCORE 780 INPUT"SECOND GO";GO$ 790 IFGO$="Y"THENRUN 800 IF GO$="N"THEN END 810 GOTO 780 820 INPUT"ENTER YOUR NAME";HIGH_NAME$ 830 HIGH=SCORE 840 GOTO 230
@%=&00900 ( YOU1=0 2 YOU2=5 < LEVEL=1 F DEAD=0 P NUMBER=0 Z � CO(9,9) d � A=1 � 9 n � B=1 � 9 x CO(A,B)=0 � � B � � A � SCORE=0 � � 5 � � 130 � � � � 1 � HIGH=0 � � �10,3);"YOU GOT";SCORE � SCORE=0 � HIGH_NAME$="WOOZY" �$ � �0,31);"PRESS A KEY TO PLAY"; � � �1,1);HIGH_NAME$;" ";HIGH �, � �7,10);"CHALLENGE";�7,12);"CHALLENGE" Z$=�(1) � Z$<>""� � �DJA � 1,-1,100,3 " Z$=�(1) , � Z$<>""� � �DJA 6 � 1,-1,52,3 @ � �TDA J � T � 0,1 ^ � H=10 � 1100 � 100 h � 10,H r � 1000,H | � H � � V=1 � 1100 � 100 � � V,10 � � V,1000 � � V � � 28,16,31,19,0 � BLOCK=�(10) � BLOCK2=�(10) � BLOCK=BLOCK-1 � BLOCK2=BLOCK2-1 �: � CO(BLOCK,BLOCK2)=1 � NUMBER=NUMBER+1:� NUMBER:�txA � BLOCK=BLOCK*100 � BLOCK2=BLOCK2*100+5 � � TIMES=0 � 100 � BLOCK+TIMES,BLOCK2 � BLOCK+TIMES,BLOCK2+100 � &# CO(BLOCK/100,(BLOCK2-5)/100)=1 0 KEY$=� : � KEY$="Z" � YOU1=YOU1+100 D � KEY$="X" � YOU1=YOU1-100 N � KEY$=":" � YOU2=YOU2-100 X � KEY$="/" � YOU2=YOU2+100 bN � CO(YOU1/100,(YOU2-5)/100)=1 �DEAD=DEAD+1:� DEAD=4 � � SCORE>HIGH � �TtC g � DEAD=4 � �df@ l � 0,3 v � TIMES=0 � 100 � � YOU1+TIMES,YOU2 � � YOU1+TIMES,YOU2+100 � � � CO(YOU1/100,(YOU2-5)/100)=1 � SCORE=SCORE+1 �p � YOU1/100=9 � YOU2(-5)/100=9 � LEVEL=LEVEL+1:SCORE=SCORE+100:YOU1=0:YOU2=5:�:�:� LEVEL=15 � � �dPB � �DTA � � 0,1 � � �txA � � 6 � � �10,10);"WELL DONE!" � � �10,11);"YOU HAVE" � � �10,12);"COMPLETED" � � �10,13);"CHALLENGE" �"YOU SCORED ";SCORE �"SECOND GO";GO$ �GO$="Y"�� � GO$="N"� � * � �TLC 4" �"ENTER YOUR NAME";HIGH_NAME$ > HIGH=SCORE H � �df@ �
00000000 0d 00 0a 05 20 0d 00 14 05 20 0d 00 1e 0e 20 40 |.... .... .... @| 00000010 25 3d 26 30 30 39 30 30 0d 00 28 0b 20 59 4f 55 |%=&00900..(. YOU| 00000020 31 3d 30 0d 00 32 0b 20 59 4f 55 32 3d 35 0d 00 |1=0..2. YOU2=5..| 00000030 3c 0c 20 4c 45 56 45 4c 3d 31 0d 00 46 0b 20 44 |<. LEVEL=1..F. D| 00000040 45 41 44 3d 30 0d 00 50 0d 20 4e 55 4d 42 45 52 |EAD=0..P. NUMBER| 00000050 3d 30 0d 00 5a 0e 20 de 20 43 4f 28 39 2c 39 29 |=0..Z. . CO(9,9)| 00000060 0d 00 64 0e 20 e3 20 41 3d 31 20 b8 20 39 0d 00 |..d. . A=1 . 9..| 00000070 6e 0e 20 e3 20 42 3d 31 20 b8 20 39 0d 00 78 0e |n. . B=1 . 9..x.| 00000080 20 43 4f 28 41 2c 42 29 3d 30 0d 00 82 08 20 ed | CO(A,B)=0.... .| 00000090 20 42 0d 00 8c 08 20 ed 20 41 0d 00 96 0c 20 53 | B.... . A.... S| 000000a0 43 4f 52 45 3d 30 0d 00 a0 08 20 eb 20 35 0d 00 |CORE=0.... . 5..| 000000b0 aa 0a 20 fb 20 31 33 30 0d 00 b4 06 20 db 0d 00 |.. . 130.... ...| 000000c0 be 08 20 fb 20 31 0d 00 c8 0b 20 48 49 47 48 3d |.. . 1.... HIGH=| 000000d0 30 0d 00 d2 1d 20 f1 20 8a 31 30 2c 33 29 3b 22 |0.... . .10,3);"| 000000e0 59 4f 55 20 47 4f 54 22 3b 53 43 4f 52 45 0d 00 |YOU GOT";SCORE..| 000000f0 dc 0c 20 53 43 4f 52 45 3d 30 0d 00 e1 17 20 48 |.. SCORE=0.... H| 00000100 49 47 48 5f 4e 41 4d 45 24 3d 22 57 4f 4f 5a 59 |IGH_NAME$="WOOZY| 00000110 22 0d 00 e6 24 20 f1 20 8a 30 2c 33 31 29 3b 22 |"...$ . .0,31);"| 00000120 50 52 45 53 53 20 41 20 4b 45 59 20 54 4f 20 50 |PRESS A KEY TO P| 00000130 4c 41 59 22 3b 0d 00 f0 20 20 f1 20 8a 31 2c 31 |LAY";... . .1,1| 00000140 29 3b 48 49 47 48 5f 4e 41 4d 45 24 3b 22 20 22 |);HIGH_NAME$;" "| 00000150 3b 48 49 47 48 0d 00 fa 2c 20 f1 20 8a 37 2c 31 |;HIGH..., . .7,1| 00000160 30 29 3b 22 43 48 41 4c 4c 45 4e 47 45 22 3b 8a |0);"CHALLENGE";.| 00000170 37 2c 31 32 29 3b 22 43 48 41 4c 4c 45 4e 47 45 |7,12);"CHALLENGE| 00000180 22 0d 01 04 0c 20 5a 24 3d bf 28 31 29 0d 01 0e |".... Z$=.(1)...| 00000190 15 20 e7 20 5a 24 3c 3e 22 22 8c 20 e5 20 8d 44 |. . Z$<>"". . .D| 000001a0 4a 41 0d 01 18 11 20 d4 20 31 2c 2d 31 2c 31 30 |JA.... . 1,-1,10| 000001b0 30 2c 33 0d 01 22 0c 20 5a 24 3d bf 28 31 29 0d |0,3..". Z$=.(1).| 000001c0 01 2c 15 20 e7 20 5a 24 3c 3e 22 22 8c 20 e5 20 |.,. . Z$<>"". . | 000001d0 8d 44 4a 41 0d 01 36 10 20 d4 20 31 2c 2d 31 2c |.DJA..6. . 1,-1,| 000001e0 35 32 2c 33 0d 01 40 0b 20 e5 20 8d 54 44 41 0d |52,3..@. . .TDA.| 000001f0 01 4a 06 20 db 0d 01 54 0a 20 e6 20 30 2c 31 0d |.J. ...T. . 0,1.| 00000200 01 5e 18 20 e3 20 48 3d 31 30 20 b8 20 31 31 30 |.^. . H=10 . 110| 00000210 30 20 88 20 31 30 30 0d 01 68 0b 20 ec 20 31 30 |0 . 100..h. . 10| 00000220 2c 48 0d 01 72 0d 20 df 20 31 30 30 30 2c 48 0d |,H..r. . 1000,H.| 00000230 01 7c 08 20 ed 20 48 0d 01 86 17 20 e3 20 56 3d |.|. . H.... . V=| 00000240 31 20 b8 20 31 31 30 30 20 88 20 31 30 30 0d 01 |1 . 1100 . 100..| 00000250 90 0b 20 ec 20 56 2c 31 30 0d 01 9a 0d 20 df 20 |.. . V,10.... . | 00000260 56 2c 31 30 30 30 0d 01 a4 08 20 ed 20 56 0d 01 |V,1000.... . V..| 00000270 ae 14 20 ef 20 32 38 2c 31 36 2c 33 31 2c 31 39 |.. . 28,16,31,19| 00000280 2c 30 0d 01 b8 10 20 42 4c 4f 43 4b 3d b3 28 31 |,0.... BLOCK=.(1| 00000290 30 29 0d 01 c2 11 20 42 4c 4f 43 4b 32 3d b3 28 |0).... BLOCK2=.(| 000002a0 31 30 29 0d 01 cc 12 20 42 4c 4f 43 4b 3d 42 4c |10).... BLOCK=BL| 000002b0 4f 43 4b 2d 31 0d 01 d6 14 20 42 4c 4f 43 4b 32 |OCK-1.... BLOCK2| 000002c0 3d 42 4c 4f 43 4b 32 2d 31 0d 01 e0 3a 20 e7 20 |=BLOCK2-1...: . | 000002d0 43 4f 28 42 4c 4f 43 4b 2c 42 4c 4f 43 4b 32 29 |CO(BLOCK,BLOCK2)| 000002e0 3d 31 20 8c 20 4e 55 4d 42 45 52 3d 4e 55 4d 42 |=1 . NUMBER=NUMB| 000002f0 45 52 2b 31 3a f1 20 4e 55 4d 42 45 52 3a e5 8d |ER+1:. NUMBER:..| 00000300 74 78 41 0d 01 ea 14 20 42 4c 4f 43 4b 3d 42 4c |txA.... BLOCK=BL| 00000310 4f 43 4b 2a 31 30 30 0d 01 f4 18 20 42 4c 4f 43 |OCK*100.... BLOC| 00000320 4b 32 3d 42 4c 4f 43 4b 32 2a 31 30 30 2b 35 0d |K2=BLOCK2*100+5.| 00000330 01 fe 14 20 e3 20 54 49 4d 45 53 3d 30 20 b8 20 |... . TIMES=0 . | 00000340 31 30 30 0d 02 08 19 20 ec 20 42 4c 4f 43 4b 2b |100.... . BLOCK+| 00000350 54 49 4d 45 53 2c 42 4c 4f 43 4b 32 0d 02 12 1d |TIMES,BLOCK2....| 00000360 20 df 20 42 4c 4f 43 4b 2b 54 49 4d 45 53 2c 42 | . BLOCK+TIMES,B| 00000370 4c 4f 43 4b 32 2b 31 30 30 0d 02 1c 06 20 ed 0d |LOCK2+100.... ..| 00000380 02 26 23 20 43 4f 28 42 4c 4f 43 4b 2f 31 30 30 |.&# CO(BLOCK/100| 00000390 2c 28 42 4c 4f 43 4b 32 2d 35 29 2f 31 30 30 29 |,(BLOCK2-5)/100)| 000003a0 3d 31 0d 02 30 0b 20 4b 45 59 24 3d be 0d 02 3a |=1..0. KEY$=...:| 000003b0 1f 20 e7 20 4b 45 59 24 3d 22 5a 22 20 8c 20 59 |. . KEY$="Z" . Y| 000003c0 4f 55 31 3d 59 4f 55 31 2b 31 30 30 0d 02 44 1f |OU1=YOU1+100..D.| 000003d0 20 e7 20 4b 45 59 24 3d 22 58 22 20 8c 20 59 4f | . KEY$="X" . YO| 000003e0 55 31 3d 59 4f 55 31 2d 31 30 30 0d 02 4e 1f 20 |U1=YOU1-100..N. | 000003f0 e7 20 4b 45 59 24 3d 22 3a 22 20 8c 20 59 4f 55 |. KEY$=":" . YOU| 00000400 32 3d 59 4f 55 32 2d 31 30 30 0d 02 58 1f 20 e7 |2=YOU2-100..X. .| 00000410 20 4b 45 59 24 3d 22 2f 22 20 8c 20 59 4f 55 32 | KEY$="/" . YOU2| 00000420 3d 59 4f 55 32 2b 31 30 30 0d 02 62 4e 20 e7 20 |=YOU2+100..bN . | 00000430 43 4f 28 59 4f 55 31 2f 31 30 30 2c 28 59 4f 55 |CO(YOU1/100,(YOU| 00000440 32 2d 35 29 2f 31 30 30 29 3d 31 20 8c 44 45 41 |2-5)/100)=1 .DEA| 00000450 44 3d 44 45 41 44 2b 31 3a e7 20 44 45 41 44 3d |D=DEAD+1:. DEAD=| 00000460 34 20 8c 20 e7 20 53 43 4f 52 45 3e 48 49 47 48 |4 . . SCORE>HIGH| 00000470 20 8c 20 8d 54 74 43 0d 02 67 14 20 e7 20 44 45 | . .TtC..g. . DE| 00000480 41 44 3d 34 20 e5 20 8d 64 66 40 0d 02 6c 0a 20 |AD=4 . .df@..l. | 00000490 e6 20 30 2c 33 0d 02 76 14 20 e3 20 54 49 4d 45 |. 0,3..v. . TIME| 000004a0 53 3d 30 20 b8 20 31 30 30 0d 02 80 16 20 ec 20 |S=0 . 100.... . | 000004b0 59 4f 55 31 2b 54 49 4d 45 53 2c 59 4f 55 32 0d |YOU1+TIMES,YOU2.| 000004c0 02 8a 1a 20 df 20 59 4f 55 31 2b 54 49 4d 45 53 |... . YOU1+TIMES| 000004d0 2c 59 4f 55 32 2b 31 30 30 0d 02 94 06 20 ed 0d |,YOU2+100.... ..| 000004e0 02 9e 20 20 43 4f 28 59 4f 55 31 2f 31 30 30 2c |.. CO(YOU1/100,| 000004f0 28 59 4f 55 32 2d 35 29 2f 31 30 30 29 3d 31 0d |(YOU2-5)/100)=1.| 00000500 02 a8 12 20 53 43 4f 52 45 3d 53 43 4f 52 45 2b |... SCORE=SCORE+| 00000510 31 0d 02 b2 70 20 e7 20 59 4f 55 31 2f 31 30 30 |1...p . YOU1/100| 00000520 3d 39 20 80 20 59 4f 55 32 28 2d 35 29 2f 31 30 |=9 . YOU2(-5)/10| 00000530 30 3d 39 20 8c 20 4c 45 56 45 4c 3d 4c 45 56 45 |0=9 . LEVEL=LEVE| 00000540 4c 2b 31 3a 53 43 4f 52 45 3d 53 43 4f 52 45 2b |L+1:SCORE=SCORE+| 00000550 31 30 30 3a 59 4f 55 31 3d 30 3a 59 4f 55 32 3d |100:YOU1=0:YOU2=| 00000560 35 3a da 3a db 3a e7 20 4c 45 56 45 4c 3d 31 35 |5:.:.:. LEVEL=15| 00000570 20 8c 20 e5 20 20 8d 64 50 42 20 8b 20 8d 44 54 | . . .dPB . .DT| 00000580 41 0d 02 bc 0a 20 e6 20 30 2c 31 0d 02 c6 0b 20 |A.... . 0,1.... | 00000590 e5 20 8d 74 78 41 0d 02 d0 08 20 eb 20 36 0d 02 |. .txA.... . 6..| 000005a0 da 1b 20 f1 20 8a 31 30 2c 31 30 29 3b 22 57 45 |.. . .10,10);"WE| 000005b0 4c 4c 20 44 4f 4e 45 21 22 0d 02 e4 19 20 f1 20 |LL DONE!".... . | 000005c0 8a 31 30 2c 31 31 29 3b 22 59 4f 55 20 48 41 56 |.10,11);"YOU HAV| 000005d0 45 22 0d 02 ee 1a 20 f1 20 8a 31 30 2c 31 32 29 |E".... . .10,12)| 000005e0 3b 22 43 4f 4d 50 4c 45 54 45 44 22 0d 02 f8 1a |;"COMPLETED"....| 000005f0 20 f1 20 8a 31 30 2c 31 33 29 3b 22 43 48 41 4c | . .10,13);"CHAL| 00000600 4c 45 4e 47 45 22 0d 03 02 19 20 f1 22 59 4f 55 |LENGE".... ."YOU| 00000610 20 53 43 4f 52 45 44 20 22 3b 53 43 4f 52 45 0d | SCORED ";SCORE.| 00000620 03 0c 15 20 e8 22 53 45 43 4f 4e 44 20 47 4f 22 |... ."SECOND GO"| 00000630 3b 47 4f 24 0d 03 16 0f 20 e7 47 4f 24 3d 22 59 |;GO$.... .GO$="Y| 00000640 22 8c f9 0d 03 20 11 20 e7 20 47 4f 24 3d 22 4e |".... . . GO$="N| 00000650 22 8c 20 e0 0d 03 2a 0b 20 e5 20 8d 54 4c 43 0d |". ...*. . .TLC.| 00000660 03 34 22 20 e8 22 45 4e 54 45 52 20 59 4f 55 52 |.4" ."ENTER YOUR| 00000670 20 4e 41 4d 45 22 3b 48 49 47 48 5f 4e 41 4d 45 | NAME";HIGH_NAME| 00000680 24 0d 03 3e 0f 20 48 49 47 48 3d 53 43 4f 52 45 |$..>. HIGH=SCORE| 00000690 0d 03 48 0b 20 e5 20 8d 64 66 40 0d ff |..H. . .df@..| 0000069d