--- title: "Bingo Card Generator" id: 76331 type: "computer_media" slug: "bingo-card-generator" url: "http://localhost/computer_media/bingo-card-generator/" markdown_url: "http://localhost/computer_media/bingo-card-generator.md" published_at: "2026-11-11T08:03:09+00:00" modified_at: "2026-11-11T08:03:09+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/bingo-card-generator-1.png" excerpt: "Make a regulation bingo card: five random numbers in each column, B 1-15 to O 61-75, with a free square in the middle." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Frank Terranella" slug: "frank-terranella" taxonomy: "indiv" url: "http://localhost/indiv/frank-terranella/" genre: - name: "Game" slug: "game" taxonomy: "genre" url: "http://localhost/type/game/" media_type: "Program" programmers: - name: "Frank Terranella" slug: "frank-terranella" taxonomy: "indiv" url: "http://localhost/indiv/frank-terranella/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Bingo%20Card%20Generator%20%281983%29%28Terranella%2C%20Frank%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1983" images: - url: "http://localhost/wp-content/uploads/2026/11/bingo-card-generator-1.png" - url: "http://localhost/wp-content/uploads/2026/11/bingo-card-generator-2.png" article_media: - id: 19576 title: "Bingo Card Generator" type: "article" url: "http://localhost/article/bingo-card-generator/" media_type_tags: "Game" license: false --- # Bingo Card Generator A bingo card generator. Each RUN prints a new card with five different numbers in each column, taken at random from 1 to 15 for B, 16 to 30 for I, and so on up to 75 for O, with XX in the free square. The numbers come from random slices of a string of all the numbers, so none repeats. Use COPY to print the card. As printed, line 220 decides the column from the numbers left after one has been drawn, so now and then a number lands in the wrong column, usually when the lowest number left in its range is drawn last. Published in Syntax December 1983 ([Bingo Card Generator](https://timexsinclair.com/article/bingo-card-generator/)). ## Source Code ``` 10 DIM A$(15,2) 20 PRINT " B I N G O" 30 PRINT AT 9,15;"XX" 40 LET X$="010203040506070809101112131415" 50 GOSUB 150 60 LET X$="161718192021222324252627282930" 70 GOSUB 150 80 LET X$="313233343536373839404142434445" 90 GOSUB 150 100 LET X$="464748495051525354555657585960" 110 GOSUB 150 120 LET X$="616263646566676869707172737475" 130 GOSUB 150 140 STOP 150 FOR X=1 TO 5 160 LET R=(INT (RND*(16-X))+1)*2-1 170 IF LEN X$=2 THEN LET A$(X)=X$ 180 IF LEN X$=2 THEN GOTO 210 190 LET A$(X)=X$(R TO R+1) 200 LET X$=X$( TO R-1)+X$(R+2 TO ) 210 IF VAL A$(X,1)=0 THEN LET A$(X)=A$(X,2) 220 LET C=(1 AND X$(1)="0")+(8 AND X$(1)="1")+(15 AND X$(1)="3")+(22 AND X$(1)="4")+(29 AND X$(1)="6") 230 IF C=15 AND X=3 THEN GOTO 250 240 PRINT AT 3*X,C;A$(X) 250 NEXT X 260 RETURN ```