--- title: "Bomber Overhead" id: 76348 type: "computer_media" slug: "bomber-overhead" url: "http://localhost/computer_media/bomber-overhead/" markdown_url: "http://localhost/computer_media/bomber-overhead.md" published_at: "2026-11-11T08:03:08+00:00" modified_at: "2026-11-11T08:03:08+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/bomber-overhead-1.png" excerpt: "Shoot down an invisible bomber on a 1K ZX80." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "ZX80" slug: "zx80" taxonomy: "post_tag" url: "http://localhost/tag/zx80/" model: - name: "Sinclair ZX80" slug: "zx80" taxonomy: "model" url: "http://localhost/model/zx80/" indiv: - name: "Ian Logan" slug: "ian-logan" taxonomy: "indiv" url: "http://localhost/indiv/ian-logan/" genre: - name: "Game" slug: "game" taxonomy: "genre" url: "http://localhost/type/game/" media_type: "Program" programmers: - name: "Ian Logan" slug: "ian-logan" taxonomy: "indiv" url: "http://localhost/indiv/ian-logan/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Bomber%20Overhead%20%281981%29%28Logan%2C%20Ian%29%28ZX80%29%28GB%29%28Program%29.zip" mediadate: "1981" images: - url: "http://localhost/wp-content/uploads/2026/11/bomber-overhead-1.png" - url: "http://localhost/wp-content/uploads/2026/11/bomber-overhead-2.png" article_media: - id: 19717 title: "Writing Game Programs" type: "article" url: "http://localhost/article/writing-game-programs/" media_type_tags: "Game" license: false --- # Bomber Overhead Shoot down an invisible bomber on a 1K ZX80. The computer hides the bomber in one of 30 squares of the middle row of a framed board; enter a square from 1 to 30 to fire. Your shot shows as an M, and a shot within two squares of the bomber hits: the squares around it fill in and A GONER is printed. Par is six shots. Press NEWLINE for a new game. Ian Logan builds the game step by step in his article Writing Game Programs, showing how to POKE straight into the display file; the file is the finished program with all the steps put together. Published in Syntax July 1981 ([Writing Game Programs](https://timexsinclair.com/article/writing-game-programs/)). ## Source Code ``` 10 PRINT "****** BOMBER OVERHEAD ******" 20 PRINT 30 GO SUB 140 40 FOR A=1 TO 5 50 PRINT CHR$(128); 60 FOR B=1 TO 30 70 PRINT CHR$(0); 80 NEXT B 90 PRINT CHR$(128) 100 NEXT A 110 GO SUB 140 120 CLEAR 130 GO TO 180 140 FOR C=1 TO 32 150 PRINT CHR$(128); 160 NEXT C 170 RETURN 180 LET D=RND(30) 190 LET E=0 200 PRINT "SHOOT 1-30" 210 INPUT F 220 POKE E,0 230 IF F<1 OR F>30 THEN GO TO 210 240 LET E=134+PEEK(16396)+PEEK(16397)*256+F 250 POKE E,50 260 IF ABS(D-F)>2 THEN GO TO 210 270 POKE E,20 280 POKE E-33,20 290 POKE E+33,20 300 IF NOT F=1 THEN POKE E-1,20 310 IF NOT F=30 THEN POKE E+1,20 320 PRINT 330 PRINT "** A GONER **" 340 INPUT A$ 350 CLS 360 RANDOMISE 370 RUN ```