home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
educ
/
prschool.zip
/
TEACHKID.BAS
< prev
next >
Wrap
BASIC Source File
|
1985-05-13
|
2KB
|
67 lines
10 ' This program will help your little one learn the letters of the
20 ' alphabet. Work with them as they go through each letter. The
30 ' program will display all the letters on the screen and then flash
40 ' one. Have your little one find the key. They will be rewarded
50 ' with a "bright" musical tone if the correct key was pushed.
60 ' Program written by D.G. Maley, Cedar Rapids,Ia.
70 KEY OFF: CLS
80 DATA A,13,4
90 DATA B,13,8
100 DATA C,13,12
110 DATA D,13,16
120 DATA E,13,20
130 DATA F,13,24
140 DATA G,13,28
150 DATA H,13,32
160 DATA I,13,36
170 DATA J,13,40
180 DATA K,13,44
190 DATA L,13,48
200 DATA M,13,52
210 DATA N,16,4
220 DATA O,16,8
230 DATA P,16,12
240 DATA Q,16,16
250 DATA R,16,20
260 DATA S,16,24
270 DATA T,16,28
280 DATA U,16,32
290 DATA V,16,36
300 DATA W,16,40
310 DATA X,16,44
320 DATA Y,16,48
330 DATA Z,16,52
340 DIM LETTER$(26),ROW(26),COLUMN(26)
350 RANDOMIZE TIMER
360 FOR K = 0 TO 25
370 READ LETTER$(K), ROW(K), COLUMN(K)
380 NEXT
390 COLOR 7
400 FOR K = 0 TO 25
410 LOCATE ROW(K),COLUMN(K),0: PRINT LETTER$(K)
420 TEMP1 = TIMER: TEMP1 = TEMP1 + 1
430 IF TIMER < TEMP1 THEN 430
440 NEXT
450 K = INT(26*RND(1))
460 COLOR 31
470 LOCATE ROW(K),COLUMN(K),0: PRINT LETTER$(K)
480 COLOR 7
490 LOCATE 18,4,0
500 ANS$ = INKEY$: IF ANS$ = "" THEN 500
510 IF ANS$ = LETTER$(K) THEN 560
520 SOUND 440,5
530 SOUND 100,5
540 GOSUB 630
550 GOTO 460
560 FOR T = 1 TO 3
570 FOR L = 500 TO 5000 STEP 500
580 SOUND L,1
590 NEXT
600 NEXT
610 GOSUB 630
620 GOTO 450
630 LOCATE ROW(K),COLUMN(K),0: PRINT LETTER$(K)
640 TEMP2 = TIMER: TEMP2 = TEMP2 +1.5
650 IF TIMER < TEMP2 THEN 650
660 RETURN