Home » CEEFAX disks » telesoftware3.adl » 23_10_87/B_SHIPS
23_10_87/B_SHIPS
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 » CEEFAX disks » telesoftware3.adl |
Filename: | 23_10_87/B_SHIPS |
Read OK: | ✔ |
File size: | 0568 bytes |
Load address: | 1900 |
Exec address: | 8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- CEEFAX disks » telesoftware3.adl » 23_10_87/B_SHIPS
- CEEFAX disks » telesoftware7.adl » 06-05-88/B_SHIPS
File contents
10MODE7 20VDU23;8202;0;0;0; 30title$="B A T T L E S H I P S":name$="By K.Stephenson" 40FORsky=0TO3 50PRINTTAB(0,sky)CHR$150CHR$157 60NEXT 70PRINTCHR$150CHR$157STRING$(5,CHR$255)CHR$147"x"CHR$255"t"CHR$150CHR$157 80PRINTCHR$150CHR$157STRING$(5,CHR$255)CHR$147"+"CHR$255"'"CHR$150CHR$157 90FORsky=6TO8 100PRINTCHR$150STRING$(17-sky,CHR$255)"}"STRING$((sky-5)+(23-sky),CHR$255)"}"CHR$157 110NEXT 120PRINTCHR$150STRING$(7,CHR$255)"/'+o"STRING$(15,CHR$255)"/'+o"CHR$157 130PRINTCHR$150CHR$255"3`````""""""""c"STRING$(8,CHR$255)"3`````""""""""c"CHR$157 140FORsea=11TO18 150PRINTCHR$148CHR$157STRING$(27-sea,CHR$255)CHR$151""""CHR$148STRING$(2*(sea-11),CHR$255)CHR$151"!"CHR$148CHR$157 160NEXT 170FORtitle=19TO20 180PRINTCHR$148CHR$157SPC4CHR$145CHR$157CHR$141CHR$151;title$" "CHR$148CHR$157 190NEXT 200FORsea=21TO23 210PRINTCHR$148CHR$157STRING$(27-sea,CHR$255)CHR$151""""CHR$148STRING$(2*(sea-11),CHR$255)CHR$151"!"CHR$148CHR$157 220NEXT 230PRINTCHR$148CHR$157CHR$151SPC3""""CHR$135SPC5name$CHR$148SPC5CHR$151"!"CHR$148CHR$157; 240wait=INKEY(300) 250CLS 260PRINTTAB(7,5)"� This game is based on the"'"� standard game of�BATTLESHIPS."'''"� There are four ships to destroy"'"� which range in size from 2 SQUARES"'"� to 5 SQUARES." 270PRINT''TAB(5)"The ships are located in random"'" positions within the grid and a"'" maximum of�40 rounds�may be fired"'" to destroy the hidden targets." 280PROCspacebar 290PRINTTAB(3,10)"�In order to select a square within"'"� the grid,you must first enter a"'"� reference letter:_�(A to J)"'"� followed by a number�(0 to 9)"'"� when prompted by the computer." 300PROCspacebar 310CHAIN"B/SHIP" 320END 330DEFPROCspacebar 340PRINTTAB(4,20);CHR$132;CHR$157;CHR$135;"Press SPACEBAR to continue ";CHR$156 350*FX15,0 360REPEAT:K=GET:UNTILK=32:CLS 370ENDPROC
�7 �23;8202;0;0;0; :title$="B A T T L E S H I P S":name$="By K.Stephenson" (�sky=0�3 2�0,sky)�150�157 <� F+�150�157�5,�255)�147"x"�255"t"�150�157 P+�150�157�5,�255)�147"+"�255"'"�150�157 Z�sky=6�8 d7�150�17-sky,�255)"}"�(sky-5)+(23-sky),�255)"}"�157 n� x*�150�7,�255)"/'+o"�15,�255)"/'+o"�157 �;�150�255"3`````""""""""c"�8,�255)"3`````""""""""c"�157 ��sea=11�18 �F�148�157�27-sea,�255)�151""""�148�2*(sea-11),�255)�151"!"�148�157 �� ��title=19�20 �2�148�157�4�145�157�141�151;title$" "�148�157 �� ��sea=21�23 �F�148�157�27-sea,�255)�151""""�148�2*(sea-11),�255)�151"!"�148�157 �� �8�148�157�151�3""""�135�5name$�148�5�151"!"�148�157; �wait=�(300) �� ��7,5)"� This game is based on the"'"� standard game of�BATTLESHIPS."'''"� There are four ships to destroy"'"� which range in size from 2 SQUARES"'"� to 5 SQUARES." ��''�5)"The ships are located in random"'" positions within the grid and a"'" maximum of�40 rounds�may be fired"'" to destroy the hidden targets." �spacebar "��3,10)"�In order to select a square within"'"� the grid,you must first enter a"'"� reference letter:_�(A to J)"'"� followed by a number�(0 to 9)"'"� when prompted by the computer." , �spacebar 6 �"B/SHIP" @� J��spacebar T>�4,20);�132;�157;�135;"Press SPACEBAR to continue ";�156 ^*FX15,0 h�:K=�:�K=32:� r� �
00000000 0d 00 0a 06 eb 37 0d 00 14 13 ef 32 33 3b 38 32 |.....7.....23;82| 00000010 30 32 3b 30 3b 30 3b 30 3b 0d 00 1e 3a 74 69 74 |02;0;0;0;...:tit| 00000020 6c 65 24 3d 22 42 20 41 20 54 20 54 20 4c 20 45 |le$="B A T T L E| 00000030 20 53 20 48 20 49 20 50 20 53 22 3a 6e 61 6d 65 | S H I P S":name| 00000040 24 3d 22 42 79 20 4b 2e 53 74 65 70 68 65 6e 73 |$="By K.Stephens| 00000050 6f 6e 22 0d 00 28 0c e3 73 6b 79 3d 30 b8 33 0d |on"..(..sky=0.3.| 00000060 00 32 14 f1 8a 30 2c 73 6b 79 29 bd 31 35 30 bd |.2...0,sky).150.| 00000070 31 35 37 0d 00 3c 05 ed 0d 00 46 2b f1 bd 31 35 |157..<....F+..15| 00000080 30 bd 31 35 37 c4 35 2c bd 32 35 35 29 bd 31 34 |0.157.5,.255).14| 00000090 37 22 78 22 bd 32 35 35 22 74 22 bd 31 35 30 bd |7"x".255"t".150.| 000000a0 31 35 37 0d 00 50 2b f1 bd 31 35 30 bd 31 35 37 |157..P+..150.157| 000000b0 c4 35 2c bd 32 35 35 29 bd 31 34 37 22 2b 22 bd |.5,.255).147"+".| 000000c0 32 35 35 22 27 22 bd 31 35 30 bd 31 35 37 0d 00 |255"'".150.157..| 000000d0 5a 0c e3 73 6b 79 3d 36 b8 38 0d 00 64 37 f1 bd |Z..sky=6.8..d7..| 000000e0 31 35 30 c4 31 37 2d 73 6b 79 2c bd 32 35 35 29 |150.17-sky,.255)| 000000f0 22 7d 22 c4 28 73 6b 79 2d 35 29 2b 28 32 33 2d |"}".(sky-5)+(23-| 00000100 73 6b 79 29 2c bd 32 35 35 29 22 7d 22 bd 31 35 |sky),.255)"}".15| 00000110 37 0d 00 6e 05 ed 0d 00 78 2a f1 bd 31 35 30 c4 |7..n....x*..150.| 00000120 37 2c bd 32 35 35 29 22 2f 27 2b 6f 22 c4 31 35 |7,.255)"/'+o".15| 00000130 2c bd 32 35 35 29 22 2f 27 2b 6f 22 bd 31 35 37 |,.255)"/'+o".157| 00000140 0d 00 82 3b f1 bd 31 35 30 bd 32 35 35 22 33 60 |...;..150.255"3`| 00000150 60 60 60 60 22 22 22 22 22 22 22 22 63 22 c4 38 |````""""""""c".8| 00000160 2c bd 32 35 35 29 22 33 60 60 60 60 60 22 22 22 |,.255)"3`````"""| 00000170 22 22 22 22 22 63 22 bd 31 35 37 0d 00 8c 0e e3 |"""""c".157.....| 00000180 73 65 61 3d 31 31 b8 31 38 0d 00 96 46 f1 bd 31 |sea=11.18...F..1| 00000190 34 38 bd 31 35 37 c4 32 37 2d 73 65 61 2c bd 32 |48.157.27-sea,.2| 000001a0 35 35 29 bd 31 35 31 22 22 22 22 bd 31 34 38 c4 |55).151"""".148.| 000001b0 32 2a 28 73 65 61 2d 31 31 29 2c bd 32 35 35 29 |2*(sea-11),.255)| 000001c0 bd 31 35 31 22 21 22 bd 31 34 38 bd 31 35 37 0d |.151"!".148.157.| 000001d0 00 a0 05 ed 0d 00 aa 10 e3 74 69 74 6c 65 3d 31 |.........title=1| 000001e0 39 b8 32 30 0d 00 b4 32 f1 bd 31 34 38 bd 31 35 |9.20...2..148.15| 000001f0 37 89 34 bd 31 34 35 bd 31 35 37 bd 31 34 31 bd |7.4.145.157.141.| 00000200 31 35 31 3b 74 69 74 6c 65 24 22 20 20 22 bd 31 |151;title$" ".1| 00000210 34 38 bd 31 35 37 0d 00 be 05 ed 0d 00 c8 0e e3 |48.157..........| 00000220 73 65 61 3d 32 31 b8 32 33 0d 00 d2 46 f1 bd 31 |sea=21.23...F..1| 00000230 34 38 bd 31 35 37 c4 32 37 2d 73 65 61 2c bd 32 |48.157.27-sea,.2| 00000240 35 35 29 bd 31 35 31 22 22 22 22 bd 31 34 38 c4 |55).151"""".148.| 00000250 32 2a 28 73 65 61 2d 31 31 29 2c bd 32 35 35 29 |2*(sea-11),.255)| 00000260 bd 31 35 31 22 21 22 bd 31 34 38 bd 31 35 37 0d |.151"!".148.157.| 00000270 00 dc 05 ed 0d 00 e6 38 f1 bd 31 34 38 bd 31 35 |.......8..148.15| 00000280 37 bd 31 35 31 89 33 22 22 22 22 bd 31 33 35 89 |7.151.3"""".135.| 00000290 35 6e 61 6d 65 24 bd 31 34 38 89 35 bd 31 35 31 |5name$.148.5.151| 000002a0 22 21 22 bd 31 34 38 bd 31 35 37 3b 0d 00 f0 0f |"!".148.157;....| 000002b0 77 61 69 74 3d a6 28 33 30 30 29 0d 00 fa 05 db |wait=.(300).....| 000002c0 0d 01 04 b8 f1 8a 37 2c 35 29 22 83 20 54 68 69 |......7,5)". Thi| 000002d0 73 20 67 61 6d 65 20 69 73 20 62 61 73 65 64 20 |s game is based | 000002e0 6f 6e 20 74 68 65 22 27 22 83 20 20 20 20 20 73 |on the"'". s| 000002f0 74 61 6e 64 61 72 64 20 67 61 6d 65 20 6f 66 81 |tandard game of.| 00000300 42 41 54 54 4c 45 53 48 49 50 53 2e 22 27 27 27 |BATTLESHIPS."'''| 00000310 22 82 20 20 20 54 68 65 72 65 20 61 72 65 20 66 |". There are f| 00000320 6f 75 72 20 73 68 69 70 73 20 74 6f 20 64 65 73 |our ships to des| 00000330 74 72 6f 79 22 27 22 82 20 20 77 68 69 63 68 20 |troy"'". which | 00000340 72 61 6e 67 65 20 69 6e 20 73 69 7a 65 20 66 72 |range in size fr| 00000350 6f 6d 20 32 20 53 51 55 41 52 45 53 22 27 22 82 |om 2 SQUARES"'".| 00000360 20 20 20 20 20 20 20 20 20 20 74 6f 20 35 20 53 | to 5 S| 00000370 51 55 41 52 45 53 2e 22 0d 01 0e 98 f1 27 27 8a |QUARES.".....''.| 00000380 35 29 22 54 68 65 20 73 68 69 70 73 20 61 72 65 |5)"The ships are| 00000390 20 6c 6f 63 61 74 65 64 20 69 6e 20 72 61 6e 64 | located in rand| 000003a0 6f 6d 22 27 22 20 20 70 6f 73 69 74 69 6f 6e 73 |om"'" positions| 000003b0 20 77 69 74 68 69 6e 20 74 68 65 20 67 72 69 64 | within the grid| 000003c0 20 61 6e 64 20 61 22 27 22 20 20 6d 61 78 69 6d | and a"'" maxim| 000003d0 75 6d 20 6f 66 81 34 30 20 72 6f 75 6e 64 73 87 |um of.40 rounds.| 000003e0 6d 61 79 20 62 65 20 66 69 72 65 64 22 27 22 20 |may be fired"'" | 000003f0 20 74 6f 20 64 65 73 74 72 6f 79 20 74 68 65 20 | to destroy the | 00000400 68 69 64 64 65 6e 20 74 61 72 67 65 74 73 2e 22 |hidden targets."| 00000410 0d 01 18 0d f2 73 70 61 63 65 62 61 72 0d 01 22 |.....spacebar.."| 00000420 bd f1 8a 33 2c 31 30 29 22 85 49 6e 20 6f 72 64 |...3,10)".In ord| 00000430 65 72 20 74 6f 20 73 65 6c 65 63 74 20 61 20 73 |er to select a s| 00000440 71 75 61 72 65 20 77 69 74 68 69 6e 22 27 22 85 |quare within"'".| 00000450 20 74 68 65 20 67 72 69 64 2c 79 6f 75 20 6d 75 | the grid,you mu| 00000460 73 74 20 66 69 72 73 74 20 65 6e 74 65 72 20 61 |st first enter a| 00000470 22 27 22 85 20 20 20 72 65 66 65 72 65 6e 63 65 |"'". reference| 00000480 20 6c 65 74 74 65 72 3a 5f 86 28 41 20 74 6f 20 | letter:_.(A to | 00000490 4a 29 22 27 22 85 20 66 6f 6c 6c 6f 77 65 64 20 |J)"'". followed | 000004a0 62 79 20 61 20 6e 75 6d 62 65 72 86 28 30 20 74 |by a number.(0 t| 000004b0 6f 20 39 29 22 27 22 85 20 20 20 77 68 65 6e 20 |o 9)"'". when | 000004c0 70 72 6f 6d 70 74 65 64 20 62 79 20 74 68 65 20 |prompted by the | 000004d0 63 6f 6d 70 75 74 65 72 2e 22 0d 01 2c 0d f2 73 |computer."..,..s| 000004e0 70 61 63 65 62 61 72 0d 01 36 0d d7 22 42 2f 53 |pacebar..6.."B/S| 000004f0 48 49 50 22 0d 01 40 05 e0 0d 01 4a 0e dd f2 73 |HIP"..@....J...s| 00000500 70 61 63 65 62 61 72 0d 01 54 3e f1 8a 34 2c 32 |pacebar..T>..4,2| 00000510 30 29 3b bd 31 33 32 3b bd 31 35 37 3b bd 31 33 |0);.132;.157;.13| 00000520 35 3b 22 50 72 65 73 73 20 53 50 41 43 45 42 41 |5;"Press SPACEBA| 00000530 52 20 74 6f 20 63 6f 6e 74 69 6e 75 65 20 20 22 |R to continue "| 00000540 3b bd 31 35 36 0d 01 5e 0b 2a 46 58 31 35 2c 30 |;.156..^.*FX15,0| 00000550 0d 01 68 11 f5 3a 4b 3d a5 3a fd 4b 3d 33 32 3a |..h..:K=.:.K=32:| 00000560 db 0d 01 72 05 e1 0d ff |...r....| 00000568