Home » Personal collection » Commodore disks » disk52a2_c16_progs.d64 » angles
angles
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Personal collection » Commodore disks » disk52a2_c16_progs.d64 |
| Filename: | angles |
| Read OK: | ✔ |
| File size: | 0496 bytes |
| Load address: | 1001 |
| Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Commodore disks » disk52a2_c16_progs.d64 » angles
- Personal collection » Commodore tapes » Commodore_16 » drawer_br_tape04a_c16_c60_computer_tape_1.wav » angles
File contents
10 COLOR 1,1
20 COLOR 0,16
30 COLOR 4,16
40 PRINT"<clr><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down> ANGLES PROGRAM"
50 PRINT" 🮃🮃🮃🮃🮃🮃🮃🮃🮃🮃🮃🮃🮃🮃"
60 PRINT"<cursor down><cursor down><cursor down><cursor down> THE OBJECT OF THIS GAME IS TO GUESS HOW MANY DEGREES ROUND";
70 PRINT" THE CIRCLE THE LINE HAS ROTATED."
80 PRINT"<cursor down><cursor down><cursor down><cursor down> PRESS SPACE TO START."
90 GET A$:IF A$<>" " THEN GOTO 90
100 FOR A=1 TO 10
110 GRAPHIC 2,1
120 CIRCLE 1,160,80,70
130 B=INT(RND(1)*360)+1
140 CIRCLE 1,160,80,70,,B,B
150 DRAW TO 160,80
160 PRINT A;"<cursor left>) ";
170 INPUT"HOW MANY DEGREES";C
180 IF C<=B THEN GOTO 300
190 ON A GOTO 200,210,220,230,240,250,260,270,280,290
200 D=C-B:GOTO 410
210 E=C-B:GOTO 410
220 F=C-B:GOTO 410
230 G=C-B:GOTO 410
240 H=C-B:GOTO 410
250 I=C-B:GOTO 410
260 J=C-B:GOTO 410
270 K=C-B:GOTO 410
280 L=C-B:GOTO 410
290 M=C-B:GOTO 410
300 ON A GOTO 310,320,330,340,350,360,370,380,390,400
310 D=B-C:GOTO 410
320 E=B-C:GOTO 410
330 F=B-C:GOTO 410
340 G=B-C:GOTO 410
350 H=B-C:GOTO 410
360 I=B-C:GOTO 410
370 J=B-C:GOTO 410
380 K=B-C:GOTO 410
390 L=B-C:GOTO 410
400 M=B-C
410 PRINT"THE ANSWER WAS";B
420 PRINT"<cursor down> PRESS SPACE TO CONTINUE"
430 GETKEY A$
440 NEXT A
450 N=(D+E+F+G+H+I+J+K+L+M)/10
460 GRAPHIC 0
470 PRINT"<clr><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down> ON AVERAGE YOU WERE";N;"DEGREES OUT.
480 PRINT"<cursor down><cursor down><cursor down><cursor down><cursor down><cursor down><cursor down> PRESS SPACE TO HAVE ANOTHER GO."
490 PRINT"<cursor down> PRESS E TO END."
500 GETKEY A$
510 IF A$=" " THEN GOTO 100
520 IF A$="E" THEN GRAPHIC CLR:SCNCLR:END"
530 GOTO 500
� 1,1 � 0,16 ! � 4,16 J( �"� ANGLES PROGRAM"