Home » Personal collection » Acorn ADFS disks » Electron » Digital_pictures_2.ADF » GAMES2/BREAKOUT

GAMES2/BREAKOUT

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 ADFS disks » Electron » Digital_pictures_2.ADF
Filename: GAMES2/BREAKOUT
Read OK:
File size: 0B65 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
  100ON ERROR GOTO 1530
  110MODE1
  120PROCchars
  130PROCinstr
  140MODE5
  150PROCmain
  160IF FNend=1 GOTO 110
  170MODE6
  180END
  190:
 1000DEFPROCchars
 1010VDU23,224,255,255,255,0,0,0,0,0
 1020VDU23,225,0,0,0,12,30,30,30,12
 1030VDU23,227,0,221,221,221,0,119,119,119
 1040VDU23,228,7,7,7,7,7,7,7,7
 1050VDU23,229,224,224,224,224,224,224,224,224
 1060ENDPROC
 1070:
 1080DEFPROCassemble
 1090V=&FFEE
 1100DIM space 50
 1110FOR h%=0 TO 2 STEP 2
 1120P%=space
 1130[OPT h%
 1140.screen
 1150LDA #17:JSR V
 1160LDA #1:JSR V
 1170LDY &7F:.wall LDX #18:.wall2
 1180LDA #31:JSR V:TXA:JSR V
 1190TYA:JSR V:LDA #227:JSR V
 1200DEX:CPX#1:BNE wall2
 1210DEY:CPY&80:BNE wall
 1220RTS
 1230.chr LDA#135:JSR &FFF4:STX &75:RTS
 1240]:NEXT
 1250ENDPROC
 1260:
 1270DEFPROCgame
 1280?&74=?&70
 1290?&70=?&70+(INKEY-98 AND ?&70>2)-(INKEY-67 AND ?&70<(19-BL%))
 1300COLOUR2
 1310IF ?&70=?&74 GOTO 1330
 1320VDU31,?&74,29:PRINT STRING$(BL%,CHR$32)
 1330VDU31,?&70,29:PRINT STRING$(BL%,CHR$224)
 1340x=?&71:y=?&72
 1350COLOUR3
 1360?&71=?&71+mx:IF ?&71<2 OR ?&71>18 ?&71=?&71-mx:mx=-mx:SOUND3,-10,2,2
 1370?&72=?&72+my:IF ?&72<2 ?&72=?&72-my:my=-my:SOUND2,-10,2,2
 1380VDU31,?&71,?&72
 1390CALL chr
 1400IF ?&72>29 AND ?&75=32 LV%=LV%-1:lost=TRUE:FOR A%=100TO0 STEP-10:SOUND 2,-10,A%,1:NEXT:ENDPROC
 1410PROCbrick
 1420IF ?&72=29 AND ?&75=128 ?&72=28:my=-my:SOUND1,-10,50,2:PROCguide 
 1430VDU31,?&71,?&72,225
 1440VDU 31,x,y,32
 1450ENDPROC
 1460:
 1470DEFFNend
 1480COLOUR128:COLOUR1
 1490PRINTTAB(5,13)"Game Over."
 1500PRINTTAB(5,15)"New Game? ";CHR$127;
 1510INPUT""Y$:IF Y$="Y" =1 ELSE =0
 1520:
 1530ON ERROR OFF
 1540MODE7
 1550IF ERR=17 END
 1560REPORT:PRINT" at line ";ERL
 1570END
 1580:
 1590DEFPROCmain
 1600VDU19,3,6,0,0,0
 1610CLS
 1620SC%=0:LV%=3
 1630C=0
 1640VDU23,1,0;0;0;0;
 1650PROCassemble
 1660REPEAT
 1670VDU19,1,0,0,0,0
 1680COLOUR128
 1690CALL screen
 1700VDU 19,1,(C MOD 7)+1,0,0,0
 1710S%=0
 1720REPEAT
 1730TIME=0
 1740won =FALSE:lost=FALSE
 1750?&70=9
 1760?&71=RND(14)+2
 1770mx=1:my=-1
 1780?&72=RND(25-?&7F)+?&7F
 1790COLOUR2
 1800 PRINTTAB(1,30)STRING$(19,CHR$224);
 1810PRINTTAB(1,1)STRING$(19,CHR$224);
 1820FOR W%=1TO 30:PRINTTAB(1,W%);CHR$228;TAB(19,W%)CHR$229;
 1830NEXT
 1840REPEAT
 1850PROCgame
 1860PRINTTAB(0,0);"Score=";SC%
 1870PRINTTAB(12,0);"Lives=";LV%
 1880IF S%=1360 won = TRUE:S%=0
 1890UNTIL lost OR won
 1900VDU31,?&70,29:PRINTSTRING$(BL%,CHR$32)
 1910UNTIL LV%<1 OR won
 1920IF won C=C+1:VDU31,?&71,?&72,32
 1930?&80=?&80+1:?&7F=?&7F+1
 1940IF 1000-(TIME/100)<0 GOTO 1960
 1950IF won PRINTTAB(4,12)"BONUS =>";:B%=1000-(TIME/100):PRINTTAB(13,12);B%:SC%=SC%+B%
 1960IF won FOR A=1TO4000:NEXT:PRINTTAB(4,12)STRING$(13,CHR$32):UNTIL LV%<1
 1970*FX15
 1980ENDPROC
 1990:
 2000DEFPROCinstr
 2010VDU19,3,6,0,0,0
 2020PRINT'''
 2030COLOUR2:PRINTTAB(16)"BREAKOUT":COLOUR1:COLOUR130:PRINTTAB(15,VPOS)STRING$(10,CHR$227)
 2040COLOUR2:COLOUR129:PRINTTAB(12,VPOS+2)"by  Alan Webster"
 2050PRINT''':COLOUR3:COLOUR128
 2060PRINT" The object of this game  is to demolishthe brick wall by bouncing a ball at it.When you have destroyed  a wall, you go on to the next one. You score 10 points for each brick  that you  knock out  andyou start with three lives."
 2070PRINT'" The following keys are used for moving:"
 2080PRINTTAB(10)"Z - Bat Left"'TAB(10)"X - Bat Right"
 2090PRINT''"Please enter skill level - 1 to 7 (level1 is easy, level 7 is hard):";
 2100REPEAT:BL%=GET-48:UNTIL BL%>0 AND BL%<8:VDU BL%+48:BL%=8-BL%
 2110PRINT'''"Press any key to start:";:G=GET
 2120?&80=2:?&7F=10
 2130ENDPROC
 2140:
 2150DEFPROCbrick
 2160 IF NOT(?&75=131 OR ?&75=128) ENDPROC
 2170IF ?&75=131 SC%=SC%+10:S%=S%+10
 2180IF ?&75=131 SOUND 10,-4,100,4:my=-my
 2190mx=SGN(mx)
 2200IF mx=0 mx=-1
 2210mx=SGN(mx)*(RND(2)-1)
 2220IF RND(2)=1 mx=-mx
 2230ENDPROC
 2240:
 2250DEFPROCguide
 2260G=0
 2270IF INKEY-67 mx=1:G=1
 2280IF INKEY-98 mx=-1:G=1
 2290IF G=0 PROCbrick
 2300ENDPROC
d� � � �dzE
n�1
x
�chars
�
�instr
��5
�	�main
�� �end=1 � �Dn@
��6
��
�:
���chars
�!�23,224,255,255,255,0,0,0,0,0
� �23,225,0,0,0,12,30,30,30,12
'�23,227,0,221,221,221,0,119,119,119
�23,228,7,7,7,7,7,7,7,7
+�23,229,224,224,224,224,224,224,224,224
$�
.:
8��assemble
BV=&FFEE
L� space 50
V� h%=0 � 2 � 2
`P%=space
j[OPT h%
t.screen
~LDA #17:JSR V
�LDA #1:JSR V
� LDY &7F:.wall LDX #18:.wall2
�LDA #31:JSR V:TXA:JSR V
�TYA:JSR V:LDA #227:JSR V
�DEX:CPX#1:BNE wall2
�DEY:CPY&80:BNE wall
�RTS
�&.chr LDA#135:JSR &FFF4:STX &75:RTS
�]:�
��
�:
�
��game

?&74=?&70

4?&70=?&70+(�-98 � ?&70>2)-(�-67 � ?&70<(19-BL%))
�2
� ?&70=?&74 � �TrE
(�31,?&74,29:� �BL%,�32)
2�31,?&70,29:� �BL%,�224)
<x=?&71:y=?&72
F�3
PB?&71=?&71+mx:� ?&71<2 � ?&71>18 ?&71=?&71-mx:mx=-mx:�3,-10,2,2
Z8?&72=?&72+my:� ?&72<2 ?&72=?&72-my:my=-my:�2,-10,2,2
d�31,?&71,?&72
n	� chr
xI� ?&72>29 � ?&75=32 LV%=LV%-1:lost=�:� A%=100�0 �-10:� 2,-10,A%,1:�:�
�
�brick
�;� ?&72=29 � ?&75=128 ?&72=28:my=-my:�1,-10,50,2:�guide 
��31,?&71,?&72,225
�� 31,x,y,32
��
�:
�	ݤend
��128:�1
��5,13)"Game Over."
��5,15)"New Game? ";�127;
��""Y$:� Y$="Y" =1 � =0
�:
�	� � �
�7
� �=17 �
�:�" at line ";�
"�
,:
6
��main
@�19,3,6,0,0,0
J�
TSC%=0:LV%=3
^C=0
h�23,1,0;0;0;0;
r
�assemble
|�
��19,1,0,0,0,0
��128
�� screen
�� 19,1,(C � 7)+1,0,0,0
�S%=0
��
��=0
�won =�:lost=�
�
?&70=9
�?&71=�(14)+2
�mx=1:my=-1
�?&72=�(25-?&7F)+?&7F
��2
 �1,30)�19,�224);
�1,1)�19,�224);
(� W%=1� 30:�1,W%);�228;�19,W%)�229;
&�
0�
:	�game
D�0,0);"Score=";SC%
N�12,0);"Lives=";LV%
X� S%=1360 won = �:S%=0
b� lost � won
l�31,?&70,29:��BL%,�32)
v� LV%<1 � won
� � won C=C+1:�31,?&71,?&72,32
�?&80=?&80+1:?&7F=?&7F+1
�� 1000-(�/100)<0 � �thG
�C� won �4,12)"BONUS =>";:B%=1000-(�/100):�13,12);B%:SC%=SC%+B%
�.� won � A=1�4000:�:�4,12)�13,�32):� LV%<1
�	*FX15
��
�:
���instr
��19,3,6,0,0,0
��'''
�/�2:�16)"BREAKOUT":�1:�130:�15,�)�10,�227)
�'�2:�129:�12,�+2)"by  Alan Webster"
�''':�3:�128
��" The object of this game  is to demolishthe brick wall by bouncing a ball at it.When you have destroyed  a wall, you go on to the next one. You score 10 points for each brick  that you  knock out  andyou start with three lives."
0�'" The following keys are used for moving:"
 +�10)"Z - Bat Left"'�10)"X - Bat Right"
*N�''"Please enter skill level - 1 to 7 (level1 is easy, level 7 is hard):";
41�:BL%=�-48:� BL%>0 � BL%<8:� BL%+48:BL%=8-BL%
>&�'''"Press any key to start:";:G=�
H?&80=2:?&7F=10
R�
\:
f��brick
p � �(?&75=131 � ?&75=128) �
z"� ?&75=131 SC%=SC%+10:S%=S%+10
�#� ?&75=131 � 10,-4,100,4:my=-my
�mx=�(mx)
�� mx=0 mx=-1
�mx=�(mx)*(�(2)-1)
�� �(2)=1 mx=-mx
��
�:
���guide
�G=0
�� �-67 mx=1:G=1
�� �-98 mx=-1:G=1
�� G=0 �brick
��
�
00000000  0d 00 64 0e ee 20 85 20  e5 20 8d 64 7a 45 0d 00  |..d.. . . .dzE..|
00000010  6e 06 eb 31 0d 00 78 0a  f2 63 68 61 72 73 0d 00  |n..1..x..chars..|
00000020  82 0a f2 69 6e 73 74 72  0d 00 8c 06 eb 35 0d 00  |...instr.....5..|
00000030  96 09 f2 6d 61 69 6e 0d  00 a0 13 e7 20 a4 65 6e  |...main..... .en|
00000040  64 3d 31 20 e5 20 8d 44  6e 40 0d 00 aa 06 eb 36  |d=1 . .Dn@.....6|
00000050  0d 00 b4 05 e0 0d 00 be  05 3a 0d 03 e8 0b dd f2  |.........:......|
00000060  63 68 61 72 73 0d 03 f2  21 ef 32 33 2c 32 32 34  |chars...!.23,224|
00000070  2c 32 35 35 2c 32 35 35  2c 32 35 35 2c 30 2c 30  |,255,255,255,0,0|
00000080  2c 30 2c 30 2c 30 0d 03  fc 20 ef 32 33 2c 32 32  |,0,0,0... .23,22|
00000090  35 2c 30 2c 30 2c 30 2c  31 32 2c 33 30 2c 33 30  |5,0,0,0,12,30,30|
000000a0  2c 33 30 2c 31 32 0d 04  06 27 ef 32 33 2c 32 32  |,30,12...'.23,22|
000000b0  37 2c 30 2c 32 32 31 2c  32 32 31 2c 32 32 31 2c  |7,0,221,221,221,|
000000c0  30 2c 31 31 39 2c 31 31  39 2c 31 31 39 0d 04 10  |0,119,119,119...|
000000d0  1b ef 32 33 2c 32 32 38  2c 37 2c 37 2c 37 2c 37  |..23,228,7,7,7,7|
000000e0  2c 37 2c 37 2c 37 2c 37  0d 04 1a 2b ef 32 33 2c  |,7,7,7,7...+.23,|
000000f0  32 32 39 2c 32 32 34 2c  32 32 34 2c 32 32 34 2c  |229,224,224,224,|
00000100  32 32 34 2c 32 32 34 2c  32 32 34 2c 32 32 34 2c  |224,224,224,224,|
00000110  32 32 34 0d 04 24 05 e1  0d 04 2e 05 3a 0d 04 38  |224..$......:..8|
00000120  0e dd f2 61 73 73 65 6d  62 6c 65 0d 04 42 0b 56  |...assemble..B.V|
00000130  3d 26 46 46 45 45 0d 04  4c 0e de 20 73 70 61 63  |=&FFEE..L.. spac|
00000140  65 20 35 30 0d 04 56 12  e3 20 68 25 3d 30 20 b8  |e 50..V.. h%=0 .|
00000150  20 32 20 88 20 32 0d 04  60 0c 50 25 3d 73 70 61  | 2 . 2..`.P%=spa|
00000160  63 65 0d 04 6a 0b 5b 4f  50 54 20 68 25 0d 04 74  |ce..j.[OPT h%..t|
00000170  0b 2e 73 63 72 65 65 6e  0d 04 7e 11 4c 44 41 20  |..screen..~.LDA |
00000180  23 31 37 3a 4a 53 52 20  56 0d 04 88 10 4c 44 41  |#17:JSR V....LDA|
00000190  20 23 31 3a 4a 53 52 20  56 0d 04 92 20 4c 44 59  | #1:JSR V... LDY|
000001a0  20 26 37 46 3a 2e 77 61  6c 6c 20 4c 44 58 20 23  | &7F:.wall LDX #|
000001b0  31 38 3a 2e 77 61 6c 6c  32 0d 04 9c 1b 4c 44 41  |18:.wall2....LDA|
000001c0  20 23 33 31 3a 4a 53 52  20 56 3a 54 58 41 3a 4a  | #31:JSR V:TXA:J|
000001d0  53 52 20 56 0d 04 a6 1c  54 59 41 3a 4a 53 52 20  |SR V....TYA:JSR |
000001e0  56 3a 4c 44 41 20 23 32  32 37 3a 4a 53 52 20 56  |V:LDA #227:JSR V|
000001f0  0d 04 b0 17 44 45 58 3a  43 50 58 23 31 3a 42 4e  |....DEX:CPX#1:BN|
00000200  45 20 77 61 6c 6c 32 0d  04 ba 17 44 45 59 3a 43  |E wall2....DEY:C|
00000210  50 59 26 38 30 3a 42 4e  45 20 77 61 6c 6c 0d 04  |PY&80:BNE wall..|
00000220  c4 07 52 54 53 0d 04 ce  26 2e 63 68 72 20 4c 44  |..RTS...&.chr LD|
00000230  41 23 31 33 35 3a 4a 53  52 20 26 46 46 46 34 3a  |A#135:JSR &FFF4:|
00000240  53 54 58 20 26 37 35 3a  52 54 53 0d 04 d8 07 5d  |STX &75:RTS....]|
00000250  3a ed 0d 04 e2 05 e1 0d  04 ec 05 3a 0d 04 f6 0a  |:..........:....|
00000260  dd f2 67 61 6d 65 0d 05  00 0d 3f 26 37 34 3d 3f  |..game....?&74=?|
00000270  26 37 30 0d 05 0a 34 3f  26 37 30 3d 3f 26 37 30  |&70...4?&70=?&70|
00000280  2b 28 a6 2d 39 38 20 80  20 3f 26 37 30 3e 32 29  |+(.-98 . ?&70>2)|
00000290  2d 28 a6 2d 36 37 20 80  20 3f 26 37 30 3c 28 31  |-(.-67 . ?&70<(1|
000002a0  39 2d 42 4c 25 29 29 0d  05 14 06 fb 32 0d 05 1e  |9-BL%)).....2...|
000002b0  16 e7 20 3f 26 37 30 3d  3f 26 37 34 20 e5 20 8d  |.. ?&70=?&74 . .|
000002c0  54 72 45 0d 05 28 1b ef  33 31 2c 3f 26 37 34 2c  |TrE..(..31,?&74,|
000002d0  32 39 3a f1 20 c4 42 4c  25 2c bd 33 32 29 0d 05  |29:. .BL%,.32)..|
000002e0  32 1c ef 33 31 2c 3f 26  37 30 2c 32 39 3a f1 20  |2..31,?&70,29:. |
000002f0  c4 42 4c 25 2c bd 32 32  34 29 0d 05 3c 11 78 3d  |.BL%,.224)..<.x=|
00000300  3f 26 37 31 3a 79 3d 3f  26 37 32 0d 05 46 06 fb  |?&71:y=?&72..F..|
00000310  33 0d 05 50 42 3f 26 37  31 3d 3f 26 37 31 2b 6d  |3..PB?&71=?&71+m|
00000320  78 3a e7 20 3f 26 37 31  3c 32 20 84 20 3f 26 37  |x:. ?&71<2 . ?&7|
00000330  31 3e 31 38 20 3f 26 37  31 3d 3f 26 37 31 2d 6d  |1>18 ?&71=?&71-m|
00000340  78 3a 6d 78 3d 2d 6d 78  3a d4 33 2c 2d 31 30 2c  |x:mx=-mx:.3,-10,|
00000350  32 2c 32 0d 05 5a 38 3f  26 37 32 3d 3f 26 37 32  |2,2..Z8?&72=?&72|
00000360  2b 6d 79 3a e7 20 3f 26  37 32 3c 32 20 3f 26 37  |+my:. ?&72<2 ?&7|
00000370  32 3d 3f 26 37 32 2d 6d  79 3a 6d 79 3d 2d 6d 79  |2=?&72-my:my=-my|
00000380  3a d4 32 2c 2d 31 30 2c  32 2c 32 0d 05 64 11 ef  |:.2,-10,2,2..d..|
00000390  33 31 2c 3f 26 37 31 2c  3f 26 37 32 0d 05 6e 09  |31,?&71,?&72..n.|
000003a0  d6 20 63 68 72 0d 05 78  49 e7 20 3f 26 37 32 3e  |. chr..xI. ?&72>|
000003b0  32 39 20 80 20 3f 26 37  35 3d 33 32 20 4c 56 25  |29 . ?&75=32 LV%|
000003c0  3d 4c 56 25 2d 31 3a 6c  6f 73 74 3d b9 3a e3 20  |=LV%-1:lost=.:. |
000003d0  41 25 3d 31 30 30 b8 30  20 88 2d 31 30 3a d4 20  |A%=100.0 .-10:. |
000003e0  32 2c 2d 31 30 2c 41 25  2c 31 3a ed 3a e1 0d 05  |2,-10,A%,1:.:...|
000003f0  82 0a f2 62 72 69 63 6b  0d 05 8c 3b e7 20 3f 26  |...brick...;. ?&|
00000400  37 32 3d 32 39 20 80 20  3f 26 37 35 3d 31 32 38  |72=29 . ?&75=128|
00000410  20 3f 26 37 32 3d 32 38  3a 6d 79 3d 2d 6d 79 3a  | ?&72=28:my=-my:|
00000420  d4 31 2c 2d 31 30 2c 35  30 2c 32 3a f2 67 75 69  |.1,-10,50,2:.gui|
00000430  64 65 20 0d 05 96 15 ef  33 31 2c 3f 26 37 31 2c  |de .....31,?&71,|
00000440  3f 26 37 32 2c 32 32 35  0d 05 a0 0f ef 20 33 31  |?&72,225..... 31|
00000450  2c 78 2c 79 2c 33 32 0d  05 aa 05 e1 0d 05 b4 05  |,x,y,32.........|
00000460  3a 0d 05 be 09 dd a4 65  6e 64 0d 05 c8 0b fb 31  |:......end.....1|
00000470  32 38 3a fb 31 0d 05 d2  17 f1 8a 35 2c 31 33 29  |28:.1......5,13)|
00000480  22 47 61 6d 65 20 4f 76  65 72 2e 22 0d 05 dc 1d  |"Game Over."....|
00000490  f1 8a 35 2c 31 35 29 22  4e 65 77 20 47 61 6d 65  |..5,15)"New Game|
000004a0  3f 20 22 3b bd 31 32 37  3b 0d 05 e6 1a e8 22 22  |? ";.127;.....""|
000004b0  59 24 3a e7 20 59 24 3d  22 59 22 20 3d 31 20 8b  |Y$:. Y$="Y" =1 .|
000004c0  20 3d 30 0d 05 f0 05 3a  0d 05 fa 09 ee 20 85 20  | =0....:..... . |
000004d0  87 0d 06 04 06 eb 37 0d  06 0e 0c e7 20 9f 3d 31  |......7..... .=1|
000004e0  37 20 e0 0d 06 18 14 f6  3a f1 22 20 61 74 20 6c  |7 ......:." at l|
000004f0  69 6e 65 20 22 3b 9e 0d  06 22 05 e0 0d 06 2c 05  |ine ";..."....,.|
00000500  3a 0d 06 36 0a dd f2 6d  61 69 6e 0d 06 40 11 ef  |:..6...main..@..|
00000510  31 39 2c 33 2c 36 2c 30  2c 30 2c 30 0d 06 4a 05  |19,3,6,0,0,0..J.|
00000520  db 0d 06 54 0f 53 43 25  3d 30 3a 4c 56 25 3d 33  |...T.SC%=0:LV%=3|
00000530  0d 06 5e 07 43 3d 30 0d  06 68 12 ef 32 33 2c 31  |..^.C=0..h..23,1|
00000540  2c 30 3b 30 3b 30 3b 30  3b 0d 06 72 0d f2 61 73  |,0;0;0;0;..r..as|
00000550  73 65 6d 62 6c 65 0d 06  7c 05 f5 0d 06 86 11 ef  |semble..|.......|
00000560  31 39 2c 31 2c 30 2c 30  2c 30 2c 30 0d 06 90 08  |19,1,0,0,0,0....|
00000570  fb 31 32 38 0d 06 9a 0c  d6 20 73 63 72 65 65 6e  |.128..... screen|
00000580  0d 06 a4 1a ef 20 31 39  2c 31 2c 28 43 20 83 20  |..... 19,1,(C . |
00000590  37 29 2b 31 2c 30 2c 30  2c 30 0d 06 ae 08 53 25  |7)+1,0,0,0....S%|
000005a0  3d 30 0d 06 b8 05 f5 0d  06 c2 07 d1 3d 30 0d 06  |=0..........=0..|
000005b0  cc 11 77 6f 6e 20 3d a3  3a 6c 6f 73 74 3d a3 0d  |..won =.:lost=..|
000005c0  06 d6 0a 3f 26 37 30 3d  39 0d 06 e0 10 3f 26 37  |...?&70=9....?&7|
000005d0  31 3d b3 28 31 34 29 2b  32 0d 06 ea 0e 6d 78 3d  |1=.(14)+2....mx=|
000005e0  31 3a 6d 79 3d 2d 31 0d  06 f4 18 3f 26 37 32 3d  |1:my=-1....?&72=|
000005f0  b3 28 32 35 2d 3f 26 37  46 29 2b 3f 26 37 46 0d  |.(25-?&7F)+?&7F.|
00000600  06 fe 06 fb 32 0d 07 08  16 20 f1 8a 31 2c 33 30  |....2.... ..1,30|
00000610  29 c4 31 39 2c bd 32 32  34 29 3b 0d 07 12 14 f1  |).19,.224);.....|
00000620  8a 31 2c 31 29 c4 31 39  2c bd 32 32 34 29 3b 0d  |.1,1).19,.224);.|
00000630  07 1c 28 e3 20 57 25 3d  31 b8 20 33 30 3a f1 8a  |..(. W%=1. 30:..|
00000640  31 2c 57 25 29 3b bd 32  32 38 3b 8a 31 39 2c 57  |1,W%);.228;.19,W|
00000650  25 29 bd 32 32 39 3b 0d  07 26 05 ed 0d 07 30 05  |%).229;..&....0.|
00000660  f5 0d 07 3a 09 f2 67 61  6d 65 0d 07 44 17 f1 8a  |...:..game..D...|
00000670  30 2c 30 29 3b 22 53 63  6f 72 65 3d 22 3b 53 43  |0,0);"Score=";SC|
00000680  25 0d 07 4e 18 f1 8a 31  32 2c 30 29 3b 22 4c 69  |%..N...12,0);"Li|
00000690  76 65 73 3d 22 3b 4c 56  25 0d 07 58 1a e7 20 53  |ves=";LV%..X.. S|
000006a0  25 3d 31 33 36 30 20 77  6f 6e 20 3d 20 b9 3a 53  |%=1360 won = .:S|
000006b0  25 3d 30 0d 07 62 10 fd  20 6c 6f 73 74 20 84 20  |%=0..b.. lost . |
000006c0  77 6f 6e 0d 07 6c 1a ef  33 31 2c 3f 26 37 30 2c  |won..l..31,?&70,|
000006d0  32 39 3a f1 c4 42 4c 25  2c bd 33 32 29 0d 07 76  |29:..BL%,.32)..v|
000006e0  11 fd 20 4c 56 25 3c 31  20 84 20 77 6f 6e 0d 07  |.. LV%<1 . won..|
000006f0  80 20 e7 20 77 6f 6e 20  43 3d 43 2b 31 3a ef 33  |. . won C=C+1:.3|
00000700  31 2c 3f 26 37 31 2c 3f  26 37 32 2c 33 32 0d 07  |1,?&71,?&72,32..|
00000710  8a 1b 3f 26 38 30 3d 3f  26 38 30 2b 31 3a 3f 26  |..?&80=?&80+1:?&|
00000720  37 46 3d 3f 26 37 46 2b  31 0d 07 94 1b e7 20 31  |7F=?&7F+1..... 1|
00000730  30 30 30 2d 28 91 2f 31  30 30 29 3c 30 20 e5 20  |000-(./100)<0 . |
00000740  8d 74 68 47 0d 07 9e 43  e7 20 77 6f 6e 20 f1 8a  |.thG...C. won ..|
00000750  34 2c 31 32 29 22 42 4f  4e 55 53 20 3d 3e 22 3b  |4,12)"BONUS =>";|
00000760  3a 42 25 3d 31 30 30 30  2d 28 91 2f 31 30 30 29  |:B%=1000-(./100)|
00000770  3a f1 8a 31 33 2c 31 32  29 3b 42 25 3a 53 43 25  |:..13,12);B%:SC%|
00000780  3d 53 43 25 2b 42 25 0d  07 a8 2e e7 20 77 6f 6e  |=SC%+B%..... won|
00000790  20 e3 20 41 3d 31 b8 34  30 30 30 3a ed 3a f1 8a  | . A=1.4000:.:..|
000007a0  34 2c 31 32 29 c4 31 33  2c bd 33 32 29 3a fd 20  |4,12).13,.32):. |
000007b0  4c 56 25 3c 31 0d 07 b2  09 2a 46 58 31 35 0d 07  |LV%<1....*FX15..|
000007c0  bc 05 e1 0d 07 c6 05 3a  0d 07 d0 0b dd f2 69 6e  |.......:......in|
000007d0  73 74 72 0d 07 da 11 ef  31 39 2c 33 2c 36 2c 30  |str.....19,3,6,0|
000007e0  2c 30 2c 30 0d 07 e4 08  f1 27 27 27 0d 07 ee 2f  |,0,0.....'''.../|
000007f0  fb 32 3a f1 8a 31 36 29  22 42 52 45 41 4b 4f 55  |.2:..16)"BREAKOU|
00000800  54 22 3a fb 31 3a fb 31  33 30 3a f1 8a 31 35 2c  |T":.1:.130:..15,|
00000810  bc 29 c4 31 30 2c bd 32  32 37 29 0d 07 f8 27 fb  |.).10,.227)...'.|
00000820  32 3a fb 31 32 39 3a f1  8a 31 32 2c bc 2b 32 29  |2:.129:..12,.+2)|
00000830  22 62 79 20 20 41 6c 61  6e 20 57 65 62 73 74 65  |"by  Alan Webste|
00000840  72 22 0d 08 02 10 f1 27  27 27 3a fb 33 3a fb 31  |r".....''':.3:.1|
00000850  32 38 0d 08 0c ea f1 22  20 54 68 65 20 6f 62 6a  |28....." The obj|
00000860  65 63 74 20 6f 66 20 74  68 69 73 20 67 61 6d 65  |ect of this game|
00000870  20 20 69 73 20 74 6f 20  64 65 6d 6f 6c 69 73 68  |  is to demolish|
00000880  74 68 65 20 62 72 69 63  6b 20 77 61 6c 6c 20 62  |the brick wall b|
00000890  79 20 62 6f 75 6e 63 69  6e 67 20 61 20 62 61 6c  |y bouncing a bal|
000008a0  6c 20 61 74 20 69 74 2e  57 68 65 6e 20 79 6f 75  |l at it.When you|
000008b0  20 68 61 76 65 20 64 65  73 74 72 6f 79 65 64 20  | have destroyed |
000008c0  20 61 20 77 61 6c 6c 2c  20 79 6f 75 20 67 6f 20  | a wall, you go |
000008d0  6f 6e 20 74 6f 20 74 68  65 20 6e 65 78 74 20 6f  |on to the next o|
000008e0  6e 65 2e 20 59 6f 75 20  73 63 6f 72 65 20 31 30  |ne. You score 10|
000008f0  20 70 6f 69 6e 74 73 20  66 6f 72 20 65 61 63 68  | points for each|
00000900  20 62 72 69 63 6b 20 20  74 68 61 74 20 79 6f 75  | brick  that you|
00000910  20 20 6b 6e 6f 63 6b 20  6f 75 74 20 20 61 6e 64  |  knock out  and|
00000920  79 6f 75 20 73 74 61 72  74 20 77 69 74 68 20 74  |you start with t|
00000930  68 72 65 65 20 6c 69 76  65 73 2e 22 0d 08 16 30  |hree lives."...0|
00000940  f1 27 22 20 54 68 65 20  66 6f 6c 6c 6f 77 69 6e  |.'" The followin|
00000950  67 20 6b 65 79 73 20 61  72 65 20 75 73 65 64 20  |g keys are used |
00000960  66 6f 72 20 6d 6f 76 69  6e 67 3a 22 0d 08 20 2b  |for moving:".. +|
00000970  f1 8a 31 30 29 22 5a 20  2d 20 42 61 74 20 4c 65  |..10)"Z - Bat Le|
00000980  66 74 22 27 8a 31 30 29  22 58 20 2d 20 42 61 74  |ft"'.10)"X - Bat|
00000990  20 52 69 67 68 74 22 0d  08 2a 4e f1 27 27 22 50  | Right"..*N.''"P|
000009a0  6c 65 61 73 65 20 65 6e  74 65 72 20 73 6b 69 6c  |lease enter skil|
000009b0  6c 20 6c 65 76 65 6c 20  2d 20 31 20 74 6f 20 37  |l level - 1 to 7|
000009c0  20 28 6c 65 76 65 6c 31  20 69 73 20 65 61 73 79  | (level1 is easy|
000009d0  2c 20 6c 65 76 65 6c 20  37 20 69 73 20 68 61 72  |, level 7 is har|
000009e0  64 29 3a 22 3b 0d 08 34  31 f5 3a 42 4c 25 3d a5  |d):";..41.:BL%=.|
000009f0  2d 34 38 3a fd 20 42 4c  25 3e 30 20 80 20 42 4c  |-48:. BL%>0 . BL|
00000a00  25 3c 38 3a ef 20 42 4c  25 2b 34 38 3a 42 4c 25  |%<8:. BL%+48:BL%|
00000a10  3d 38 2d 42 4c 25 0d 08  3e 26 f1 27 27 27 22 50  |=8-BL%..>&.'''"P|
00000a20  72 65 73 73 20 61 6e 79  20 6b 65 79 20 74 6f 20  |ress any key to |
00000a30  73 74 61 72 74 3a 22 3b  3a 47 3d a5 0d 08 48 12  |start:";:G=...H.|
00000a40  3f 26 38 30 3d 32 3a 3f  26 37 46 3d 31 30 0d 08  |?&80=2:?&7F=10..|
00000a50  52 05 e1 0d 08 5c 05 3a  0d 08 66 0b dd f2 62 72  |R....\.:..f...br|
00000a60  69 63 6b 0d 08 70 1f 20  e7 20 ac 28 3f 26 37 35  |ick..p. . .(?&75|
00000a70  3d 31 33 31 20 84 20 3f  26 37 35 3d 31 32 38 29  |=131 . ?&75=128)|
00000a80  20 e1 0d 08 7a 22 e7 20  3f 26 37 35 3d 31 33 31  | ...z". ?&75=131|
00000a90  20 53 43 25 3d 53 43 25  2b 31 30 3a 53 25 3d 53  | SC%=SC%+10:S%=S|
00000aa0  25 2b 31 30 0d 08 84 23  e7 20 3f 26 37 35 3d 31  |%+10...#. ?&75=1|
00000ab0  33 31 20 d4 20 31 30 2c  2d 34 2c 31 30 30 2c 34  |31 . 10,-4,100,4|
00000ac0  3a 6d 79 3d 2d 6d 79 0d  08 8e 0c 6d 78 3d b4 28  |:my=-my....mx=.(|
00000ad0  6d 78 29 0d 08 98 10 e7  20 6d 78 3d 30 20 6d 78  |mx)..... mx=0 mx|
00000ae0  3d 2d 31 0d 08 a2 15 6d  78 3d b4 28 6d 78 29 2a  |=-1....mx=.(mx)*|
00000af0  28 b3 28 32 29 2d 31 29  0d 08 ac 13 e7 20 b3 28  |(.(2)-1)..... .(|
00000b00  32 29 3d 31 20 6d 78 3d  2d 6d 78 0d 08 b6 05 e1  |2)=1 mx=-mx.....|
00000b10  0d 08 c0 05 3a 0d 08 ca  0b dd f2 67 75 69 64 65  |....:......guide|
00000b20  0d 08 d4 07 47 3d 30 0d  08 de 13 e7 20 a6 2d 36  |....G=0..... .-6|
00000b30  37 20 6d 78 3d 31 3a 47  3d 31 0d 08 e8 14 e7 20  |7 mx=1:G=1..... |
00000b40  a6 2d 39 38 20 6d 78 3d  2d 31 3a 47 3d 31 0d 08  |.-98 mx=-1:G=1..|
00000b50  f2 10 e7 20 47 3d 30 20  f2 62 72 69 63 6b 0d 08  |... G=0 .brick..|
00000b60  fc 05 e1 0d ff                                    |.....|
00000b65
GAMES2/BREAKOUT.m0
GAMES2/BREAKOUT.m1
GAMES2/BREAKOUT.m2
GAMES2/BREAKOUT.m4
GAMES2/BREAKOUT.m5