This listing was submitted for the contest. Since all of the programs for the contest were judged appropriately, We tried this one on the Maryland Lottery. We lost, therefore this entry lost also.
However, this program will do a good job helping you to lose as well. The benefits that you can derive from letting the computer (especially your Timex) pick your numbers are that you can then blame your losses on Sinclair for developing, Timex for distributing, SWN for printing, Carlos for creating, your computer for lying and the dog for being underfoot as you watch the numbers being drawn on the tube.
In fact, you’ll feel so good after all of this buck passing that I’d bet money that you’ll use this program again next week!!
10 BORDER 5: INK 9: PAPER 0: CLS
20 PRINT AT 1,8;"[illegible]";TAB 8;" LOTTERY ";TAB 8;"[illegible]";TAB 8;" MAR. 20,1985 ";TAB 8;"[illegible]"
30 PRINT AT 8,6;"1. LOTTO";AT 10,6;"2. PICK FOUR";AT 12,6;"3. THE DAILY NUMBER"
40 PRINT AT 21,7; BRIGHT 0;"Enter your choice"
50 PAUSE 0: LET j=VAL INKEY$: IF j<1 OR j>3 THEN GO TO 50
60 CLS : BORDER j: GO TO 1000*j
1000 PRINT INK 7; PAPER 0;AT 0,10;"[illegible]"
1010 PRINT ': RESTORE
1020 LET b1=0
1030 FOR c=1 TO 5: READ a$
1040 DATA "A","B","C","D","E","F","G","H","J","K"
1050 PRINT TAB 10;"Section No.";a$
1060 FOR a=1 TO 6
1070 LET b=INT (RND*40)+1
1080 IF b=b1 THEN GO TO 1070
1100 IF b<10 THEN PRINT " ";
1110 PRINT " ";b;
1120 LET b1=b: NEXT a
1130 PRINT TAB 3;"---------------------------"
1140 PRINT
1150 NEXT c
1160 INPUT "[illegible]=Copy [illegible]=Reset [illegible]=Next "; LINE d$: IF d$="c" THEN COPY
1170 IF d$="r" THEN CLS : GO TO 1000
1180 IF c=6 THEN CLS : PRINT '': FOR c=6 TO 10: READ a$: GO TO 1050
1190 PRINT TAB 6; INK 2; PAPER 7; FLASH 1;" G O O D L U C K "
1200 PAUSE 200: GO TO 10
2000 PRINT AT 6,7;"[illegible]"
2010 FOR c=1 TO 4
2020 LET p4=INT (RND*10)
2030 PRINT AT 12,8+(c*3);p4
2040 NEXT c
2050 PRINT AT 21,7;" Push "; FLASH 1;p4; FLASH 0;" for MENU "
2060 IF INKEY$<>STR$ p4 THEN GO TO 2060
2070 GO TO 10
3000 PRINT AT 6,6;"[illegible]"
3010 FOR c=1 TO 3
3020 LET p3=INT (RND*10)
3030 PRINT AT 12,10+(c*3);p3
3040 NEXT c
3050 PRINT AT 21,7; BRIGHT 1;" Push "; FLASH 1;p3; FLASH 0;" for MENU "
3060 IF INKEY$<>STR$ p3 THEN GO TO 3060
3070 GO TO 10
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.