340 FOR I=5 TO 9:H$=INKEY$:H$=INKEY$:A=INSTR(A$(I),L$)
342 IF A<>0 THEN 360
343 NEXT I
350 GOTO 420
360 FOR H=1 TO 15:H$=INKEY$:NEXT H
370 FOR H=1 TO 10:H$=INKEY$:H$=INKEY$:H$=INKEY$:H$=INKEY$:SOUND RND*1000+37,2:NEXT H
380 IF SC%=0 THEN 410 ELSE LOCATE 25,(I*2)+35
390 PRINT A$(I);:A$(I)=CHR$(248):Y=Y+1:IF Y<5 THEN 410 ELSE LOCATE 2,5:R=(SCR%+2)*4.562:LL$="":KD%=0:L%=0:SC%=0:PRINT "A WINNER!!";:PRINT USING" YOUR SCORE IS: ### ";R;
400 SCR%=0:Y=0:GET #1,1:FOR H=2 TO 26:SOUND RND*1000+H%,2:NEXT H
410 H$=INKEY$:H$=INKEY$:LOCATE 10,5:PRINT"PUSH ANY KEY... ";:A=0:GOTO 440
420 FOR H=1 TO 35:H$=INKEY$:NEXT H
430 IF SC%=0 THEN 440 ELSE IF SCR%>-1 THEN 440 ELSE LOCATE 2,5:PRINT" SORRY, THE GAME IS OVER. ";:SC%=0:KD%=0:L%=0:LL$="":SCR%=0:LOCATE 4,5:PRINT CHR$(7);:PRINT" PUSH ANY KEY ";:L$=INPUT$(1):RETURN 250
440 IF KD%=4 OR MD%=1 OR MD%=3 THEN 230
450 IF BL%=1 THEN 560
460 IF C1%>15 THEN C1%=0
470 IF C2%>15 THEN C2%=C2%-15
480 IF C3%>15 THEN C3%=C3%-15
490 IF C2%=13 THEN C2%=14
500 IF C1%=C2% THEN C1%=C1%+1 ELSE IF (C1%=2 AND C2%=10) THEN C2%=C2%+1 ELSE IF (C1%=3 AND C2%=11) THEN C2%=C2%+1
510 IF C1%=15 THEN C1%=0
520 GOTO 230
530 IF C1%>15 THEN C1%=C1%-16 ELSE C1%=C1%+16
540 IF BL%=1 THEN BL%=0 ELSE BL%=1
550 L$="X":H$="H":GOTO 270
560 IF C1%>31 THEN C1%=16
570 IF C1%=20 AND C2%=12 THEN C1%=21
580 GOTO 470
590 IF C1%>15 THEN C4%=C2%+1 ELSE C4%=C1%
600 IF C1%<>7 THEN 620 ELSE K1%=7
610 K2%=0:GOTO 630
620 K1%=15:K2%=1
630 COLOR K1%,K2%:SC%=0:CLS:GET #1,1:PRINT STRING$(28,176);" AMANDA'S LETTER LOTTO ";STRING$(29,176):COLOR K2%,K1%,C3%:IF MD%=3 THEN W$="MONOCHROME" ELSE IF MD%=2 THEN W$="MULTIPLE COLORS" ELSE W$="THREE COLOR"
720 LOCATE 12,25:H%=5:PRINT" F5 - CAPITAL LETTERS ";:IF CAPS%=1 THEN PRINT"[ON ] " ELSE PRINT"[OFF] "
730 RETURN
740 LOCATE 14,25:H%=6:PRINT" F6 - SET AWARD LETTERS ":RETURN
750 LOCATE 16,25:H%=7:PRINT" F7 - LETTER LOTTO ":RETURN
760 LOCATE 18,25:H%=8:PRINT" F8 - PLAY GAME ":RETURN
770 LOCATE 21,25:PRINT" SELECT ONE OF THE ABOVE: "
780 COLOR K1%,K2%:LOCATE 21,51:H$=INKEY$:K%=K%+1:IF K%<65 OR K%>90 THEN K%=65
790 IF LEN(H$)=0 THEN 780 ELSE IF LEN(H$)>1 THEN 820 ELSE IF H$=CHR$(13) THEN 870
800 IF H$=CHR$(156) THEN 950 ELSE IF H$=CHR$(157) THEN 990 ELSE IF H$=CHR$(158) THEN 1180 ELSE IF H$=CHR$(159) THEN 1220 ELSE IF H$=CHR$(160) THEN 900 ELSE IF H$=CHR$(248) THEN 1260 ELSE IF H$=CHR$(252) THEN 1250 ELSE IF H$=CHR$(249) THEN 1480
810 IF H$=CHR$(251) THEN 3000 ELSE IF H$=CHR$(250) THEN 220 ELSE 780
820 M$=RIGHT$(H$,1):M=ASC(M$):IF M=72 THEN 830 ELSE IF M=80 THEN 850 ELSE 780
830 GOSUB 880:IF H%=1 THEN H%=8 ELSE H%=H%-1
840 COLOR K2%,K1%:GOSUB 880:GOTO 780
850 GOSUB 880:IF H%=8 THEN H%=1 ELSE H%=H%+1
860 GOTO 840
870 IF H%=1 THEN 950 ELSE IF H%=2 THEN 990 ELSE IF H%=3 THEN 1180 ELSE IF H%=4 THEN 1220 ELSE IF H%=5 THEN 900 ELSE IF H%=6 THEN 1260 ELSE IF H%=7 THEN 1480 ELSE IF H%=8 THEN 220 ELSE 780
880 IF H%=1 THEN GOSUB 680 ELSE IF H%=2 THEN GOSUB 690 ELSE IF H%=3 THEN GOSUB 700 ELSE IF H%=4 THEN GOSUB 710 ELSE IF H%=5 THEN GOSUB 720 ELSE IF H%=6 THEN GOSUB 740 ELSE IF H%=7 THEN GOSUB 750 ELSE IF H%=8 THEN GOSUB 760
890 RETURN
900 IF CAPS%=1 THEN CAPS%=0 ELSE CAPS%=1
910 GET #1,1:LSET A$(10)=MKI$(CAPS%)
920 PUT #1,1
930 GOTO 590
940 L$="*":GOTO 250
950 C1%=15:C2%=1:C3%=2:GET #1,1
960 MD%=2:LSET A$(1)=MKI$(2)
970 PUT #1,1
980 COLOR C1%,C2%,C3%:GOTO 590
990 CLS:GOSUB 1160
1000 LOCATE 15,5:PRINT"F10 - EXIT"
1010 LOCATE 8,35:PRINT"SELECT A COLOR FOR THE LETTERS: ";:H$=INPUT$(1)
1020 IF H$=CHR$(156) THEN C1%=0 ELSE IF H$=CHR$(157) THEN C1%=15 ELSE IF H$=CHR$(158) THEN C1%=4 ELSE IF H$=CHR$(159) THEN C1%=1 ELSE IF H$=CHR$(160) THEN C1%=2 ELSE IF H$=CHR$(248) THEN C1%=14 ELSE IF H$=CHR$(252) THEN 590
1050 IF H$=CHR$(156) THEN C2%=0 ELSE IF H$=CHR$(157) THEN C2%=7 ELSE IF H$=CHR$(158) THEN C2%=4 ELSE IF H$=CHR$(159) THEN C2%=1 ELSE IF H$=CHR$(160) THEN C2%=2 ELSE IF H$=CHR$(248) THEN C2%=3 ELSE IF H$=CHR$(249) THEN C2%=5
1055 IF H$=CHR$(252) THEN 590
1060 IF C1%=C2% THEN CLS ELSE 1080
1070 LOCATE 25,1:COLOR 0,7:PRINT" THIS COLOR COMBINATION WILL NOT WORK. CHOOSE ANOTHER BACKGROUND COLOR.";:COLOR 15,1:GOTO 1040
1100 IF H$=CHR$(156) THEN C3%=0 ELSE IF H$=CHR$(157) THEN C3%=7 ELSE IF H$=CHR$(158) THEN C3%=4 ELSE IF H$=CHR$(159) THEN C3%=1 ELSE IF H$=CHR$(160) THEN C3%=2 ELSE IF H$=CHR$(248) THEN C3%=14 ELSE 1120
1110 GOTO 1130
1120 IF H$=CHR$(249) THEN C3%=8 ELSE IF H$=CHR$(250) THEN C3%=9 ELSE IF H$=CHR$(251) THEN C3%=12 ELSE IF H$=CHR$(252) THEN 590 ELSE C3%=0
1250 COLOR 7,0,0:CLS:PRINT" A M A N D A ' S L E T T E R L O T T O I S F I N I S H E D ":PRINT:PRINT:SYSTEM
1260 COLOR C1%,C2%:CLS:PRINT STRING$(30,176);" SET AWARD LETTERS ";STRING$(30,176);:GOSUB 1270:COLOR C2%,C1%:GOSUB 1290:COLOR C1%,C2%:GOSUB 1300:GOSUB 1310:GOSUB 1320:GOSUB 1330:GOSUB 1340:H%=5:GET #1,1:GOTO 1350
1270 FOR I=4 TO 14 STEP 2:LOCATE I,18:PRINT CHR$(249):NEXT I
1280 RETURN
1290 LOCATE 4,20:H%=5:PRINT " "A$(5)" ":RETURN
1300 LOCATE 6,20:H%=6:PRINT " "A$(6)" ":RETURN
1310 LOCATE 8,20:H%=7:PRINT " "A$(7)" ":RETURN
1320 LOCATE 10,20:H%=8:PRINT " "A$(8)" ":RETURN
1330 LOCATE 12,20:H%=9:PRINT " "A$(9)" ":RETURN
1340 LOCATE 14,20:H%=10:PRINT " EXIT ":RETURN
1350 LOCATE 18,5:PRINT" HIGHLIGHT THE LETTER TO BE CHANGED ":LOCATE 20,5:PRINT" THEN PUSH A NEW LETTER OR PUSH THE SPACE BAR TO MAKE A BLANK "
1360 COLOR C1%,C2%:LOCATE 1,1,0:H$=INKEY$:IF LEN(H$)>1 THEN 1390 ELSE IF LEN(H$)=0 THEN 1360 ELSE IF H%=10 THEN 1460
1370 IF H$=" " THEN LSET A$(H%)=CHR$(255) ELSE LSET A$(H%)=H$
1380 GOTO 1420
1390 M$=RIGHT$(H$,1):M=ASC(M$):IF M=72 THEN 1400 ELSE IF M=80 THEN 1420 ELSE 1360
1400 GOSUB 1440:IF H%=5 THEN H%=10 ELSE H%=H%-1
1410 COLOR C2%,C1%:GOSUB 1440:GOTO 1360
1420 GOSUB 1440:IF H%=10 THEN H%=5 ELSE H%=H%+1
1430 GOTO 1410
1440 IF H%=5 THEN GOSUB 1290 ELSE IF H%=6 THEN GOSUB 1300 ELSE IF H%=7 THEN GOSUB 1310 ELSE IF H%=8 THEN GOSUB 1320 ELSE IF H%=9 THEN GOSUB 1330 ELSE IF H%=10 THEN GOSUB 1340
3000 CLS:PRINT STRING$(30,178);" AUTHOR INFORMATION ";STRING$(30,178)
3010 PRINT:PRINT" This software was created by Steve Hudgik (that's me). It was written"
3020 PRINT"to entertain my daughter Amanda and my son Zachary and to"
3030 PRINT"help them learn about the alphebet and computers. It's"
3040 PRINT"worked well for them and I hope your children have many hours of"
3050 PRINT"fun using Amanda's Letter Lotto.":PRINT
3060 PRINT" If you like this software, and find that it is being used, I"
3070 PRINT"would appreciate it very much if you could send a donation of $5 to"
3080 PRINT"help pay for the effort that went into creating Amanda's Letter"
3090 PRINT"Lotto. Make your check out to either Amanda Hudgik or Zachary"
3100 PRINT"Hudgik (Amanda is now 4 and Zachary is 2 years old). We'll be"
3110 PRINT"using any donations to help start a college fund for Amanda and
3120 PRINT"Zachary.":PRINT
3130 PRINT" Our address is: P.O. Box 974"
3140 PRINT" Tualatin, OR 97062"
3150 LOCATE 24,5:PRINT"Push ESC to return to menu, any other key for";:LOCATE 25,5,1:PRINT"information on other HomeCraft products... ";
3160 H$=INKEY$:IF LEN(H$)=0 THEN 3160 ELSE IF ASC(H$)=27 THEN 630
3170 CLS:PRINT STRING$(20,177);" HOME MONEY MANAGER II ";STRING$(20,177):PRINT
3180 PRINT"Would you like to simplify balancing your checkbook?":PRINT:PRINT"HMM-II can do it for you. Most home financial software promises a lot, and":PRINT"in most cases delivers what is promised. However, it is usually"
3190 PRINT"so complex that you may spend months getting it set up and running."
3200 PRINT"HMM-II promises and delivers a lot - but in a way that is designed":PRINT"for the typical HOME user. HMM-II is not for investors":PRINT"or financial managers. It is for the average person who wants"
3210 PRINT"powerful and complete home finacial software.":PRINT:PRINT"HMM-II provides 12 separate check registers and an additional 12 registers":PRINT"for your credit accounts. There are 900+ possible expense categories."
3220 PRINT"With HMM-II you can change an entry at any time and that change":PRINT"will be reflected in ALL data files. A wide variety of printed":PRINT"reports ease the burden at tax time.":PRINT
3225 PRINT"HMM-II can print any size check, even the ones you are now using.":PRINT"Plus, HMM-II will track your budget and provide comparison reports":PRINT"that show how well you're doing.":PRINT
3230 PRINT"HMM-II sells for $49.95 (that's right $49.94!). A 100+ page manual":PRINT"is included. HMM-II requires an IBM or compatible computer w/256K.";
3250 LOCATE 25,15:PRINT"PUSH ANY KEY FOR NEXT PAGE...";:H$=INPUT$(1)
3260 CLS:PRINT STRING$(24,176);" HOME INSURANCE ";STRING$(24,176):PRINT:PRINT"Home Insurance is a home inventory and record keeping system. Plus,":PRINT"it provides a life insurance calculator and an insurance policy"
3270 PRINT"data base to aid you with planning your insurance needs.":PRINT:PRINT"The inventory section allows you to enter information on 1500 items (per data":PRINT"file - multiple files can also be used). You can record descriptions,"
3280 PRINT"model and serial numbers, original and replacement costs,":PRINT"the date of purchase, who owns the item, where it is located, and what":PRINT"type of item it is."
3290 PRINT:PRINT"Other features provide automatic adjustment for inflation or":PRINT"depreciation; a summary of values by owner, location or item type; plus":PRINT"a variety of ways to search your inventory. For example, you can search"
3300 PRINT"for all the items with a replacement cost above $1000, or you can":PRINT"list everything with the word 'glass' in the description.":PRINT
3310 PRINT"Home Insurance costs $24.95 and, like HMM-II, it comes with a complete":PRINT"printed manual. An IBM or compatible computer with 196K":PRINT"is required."
3320 LOCATE 24,15:PRINT"PUSH ANY KEY FOR THE NEXT PAGE...";:H$=INPUT$(1)
3330 CLS:PRINT STRING$(30,178);" HOME LOAN ";STRING$(30,178):PRINT TAB(22)"The Home Financial Calculator":PRINT:PRINT"Home Loan provides all of the financial calculations you are likely to need"
3340 PRINT"around your home, in an easy to use menu driven format.":PRINT:PRINT"Home Loan can calculate loan payments and display them in a table that":PRINT"lets you compare various terms, loan amounts, and interest rates."
3350 PRINT"You can generate amortization tables that include irregular":PRINT"prepayments or balloon payments. Home Loan can calculate present value,":PRINT"future value, and the value of an annuity.":PRINT
3360 PRINT"Home Loan also provides sections to help with retirement planning and":PRINT"planning for you children's college education.":PRINT:PRINT"Home Loan sells for $24.95 and comes with complete documentation. An IBM or"
3370 PRINT"compatible computer with 196K is required.";:LOCATE 25,15:PRINT"PUSH ANY KEY FOR NEXT PAGE...";:H$=INPUT$(1)
3380 CLS:PRINT STRING$(20,177);" PERSONAL ASSET MANAGER<tm> ";STRING$(20,177):PRINT:PRINT"The Personal Asset Manager<tm> (PAM) combines all three of the":PRINT"previously described programs into one software package. For $79.95"
3390 PRINT"you get:":PRINT:PRINT"HOME MONEY MANAGER II":PRINT:PRINT"HOME INSURANCE":PRINT:PRINT"HOME LOAN":PRINT:PRINT"Plus an added feature that helps calculate and track the costs for up to":PRINT"12 vehicles.":PRINT
3400 PRINT"PAM requires an IBM or compatible computer with 256K of memory.":PRINT:PRINT"Any of the software described here can be ordered directly from:":PRINT:PRINT"HomeCraft":PRINT"P.O. Box 974":PRINT"Tualatin, OR 97062
3410 LOCATE 25,1:PRINT"Push ESC to quit or any key for an order form...";
3420 H$=INKEY$:IF LEN(H$)=0 THEN 3420 ELSE IF ASC(H$)=27 THEN 630
3430 GOTO 20000
4000 GOTO 630
5000 CLS:LOCATE 10,1:PRINT"Letter Lotto has several layers of protection"
5010 PRINT"against keyboard errors. However, you have found one we didn't"
5020 PRINT"think of. Sorry about that.":PRINT:PRINT"This error is code number: "ERR:LOCATE 20,1
5030 PRINT"Push any key to start playing again... ";:H$=INPUT$(1):RESUME 630
20050 LOCATE 14,15:PRINT"ENTER CITY, STATE AND ZIP: ";:LINE INPUT CSZ$
20060 CLS:PRINT STRING$(30,177);" HOMECRAFT SOFTWARE ";STRING$(30,177):LOCATE 4,20:PRINT"<1> Home Loan ($24.95)"
20070 LOCATE 6,20:PRINT"<2> Home Insurance ($24.95)"
20080 LOCATE 8,20:PRINT"<3> Home Money Manager ($29.95)
20090 LOCATE 10,20:PRINT"<4> Home Money Manager II ($49.95)
20100 LOCATE 12,20:PRINT"<5> Personal Asset Manager ($79.95)
20110 LOCATE 14,20:PRINT"<6> Exit"
20120 LOCATE 17,12:PRINT"Push the number for the software you are registering: ";:H$=INPUT$(1):IF H$="6" THEN 630 ELSE IF VAL(H$)>6 OR VAL(H$)=0 THEN 20000 ELSE LOCATE 18,10:PRINT"Enter brand and model computer you have: ";:LINE INPUT CMPR$
20130 LOCATE 20,10:PRINT"Enter your VISA or MASTER CARD number"
20140 LOCATE 21,10:PRINT"or just push ENTER if you are sending a check: ";:LINE INPUT VISA$
20150 IF VISA$=CHR$(13) THEN 20160 ELSE LOCATE 23,10:PRINT"Enter expiration date: ";:LINE INPUT DAT$
20160 CLS:PRINT"BE SURE YOUR PRINTER IS ON.":LOCATE 5,1:PRINT"Push any key to print order form or the letter X to eXit. ";:J$=INPUT$(1):IF J$="x" OR J$="X" THEN 40