Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape17b_acorn_eu_1990_december.wav » ThreeDi
ThreeDi
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 » Acorn tapes » Electron_User » Electron_User_tape17b_acorn_eu_1990_december.wav |
Filename: | ThreeDi |
Read OK: | ✔ |
File size: | 0180 bytes |
Load address: | FFFF1A00 |
Exec address: | FFFF8023 |
Duplicates
There are 3 duplicate copies of this file in the archive:
- AEW website » mu » mu_5_25_discs_Micro_User_08_10_D-MU08_10.ssd » ThreeDi
- AEW website » mu » mu_Micro_User_08_10_MU8-10_B.uef » ThreeDi
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape17a_acorn_eu_1990_december.wav » ThreeDi
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape17b_acorn_eu_1990_december.wav » ThreeDi
File contents
0 REM Three Dice (Random & Theory) 10 REM by Jon Millington 20 REM (c) The Micro User 30 DIM B(18) 40 PRINT TAB(9,23)"1-Rand, 0-Theory" 50 REPEAT 60 G=GET-48 70 UNTIL G=1 OR G=0 80 MODE 7:VDU 23,1,0;0;0;0; 90 FOR D=3 TO 18 100 PRINT TAB(-(D<10),D);D 110 NEXT D 120 FOR X=1 TO 6 130 FOR Y=1 TO 6 140 FOR Z=1 TO 6 150 IF G THEN N=RND(6)+RND(6)+RND(6) 160 IF G=0 THEN N=X+Y+Z 170 PRINT TAB(B(N)+3,N)"*" 180 B(N)=B(N)+1 190 NEXT Z 200 NEXT Y 210 NEXT X 220 RUN
# � Three Dice (Random & Theory) � by Jon Millington � (c) The Micro User � B(18) ( � �9,23)"1-Rand, 0-Theory" 2 � < G=�-48 F � G=1 � G=0 P � 7:� 23,1,0;0;0;0; Z � D=3 � 18 d � �-(D<10),D);D n � D x � X=1 � 6 � � Y=1 � 6 � � Z=1 � 6 � � G � N=�(6)+�(6)+�(6) � � G=0 � N=X+Y+Z � � �B(N)+3,N)"*" � B(N)=B(N)+1 � � Z � � Y � � X � � �
00000000 0d 00 00 23 20 f4 20 54 68 72 65 65 20 44 69 63 |...# . Three Dic| 00000010 65 20 28 52 61 6e 64 6f 6d 20 26 20 54 68 65 6f |e (Random & Theo| 00000020 72 79 29 0d 00 0a 18 20 f4 20 62 79 20 4a 6f 6e |ry).... . by Jon| 00000030 20 4d 69 6c 6c 69 6e 67 74 6f 6e 0d 00 14 19 20 | Millington.... | 00000040 f4 20 28 63 29 20 54 68 65 20 4d 69 63 72 6f 20 |. (c) The Micro | 00000050 55 73 65 72 0d 00 1e 0c 20 de 20 42 28 31 38 29 |User.... . B(18)| 00000060 0d 00 28 1f 20 f1 20 8a 39 2c 32 33 29 22 31 2d |..(. . .9,23)"1-| 00000070 52 61 6e 64 2c 20 30 2d 54 68 65 6f 72 79 22 0d |Rand, 0-Theory".| 00000080 00 32 06 20 f5 0d 00 3c 0b 20 47 3d a5 2d 34 38 |.2. ...<. G=.-48| 00000090 0d 00 46 10 20 fd 20 47 3d 31 20 84 20 47 3d 30 |..F. . G=1 . G=0| 000000a0 0d 00 50 18 20 eb 20 37 3a ef 20 32 33 2c 31 2c |..P. . 7:. 23,1,| 000000b0 30 3b 30 3b 30 3b 30 3b 0d 00 5a 0f 20 e3 20 44 |0;0;0;0;..Z. . D| 000000c0 3d 33 20 b8 20 31 38 0d 00 64 14 20 f1 20 8a 2d |=3 . 18..d. . .-| 000000d0 28 44 3c 31 30 29 2c 44 29 3b 44 0d 00 6e 08 20 |(D<10),D);D..n. | 000000e0 ed 20 44 0d 00 78 0e 20 e3 20 58 3d 31 20 b8 20 |. D..x. . X=1 . | 000000f0 36 0d 00 82 0e 20 e3 20 59 3d 31 20 b8 20 36 0d |6.... . Y=1 . 6.| 00000100 00 8c 0e 20 e3 20 5a 3d 31 20 b8 20 36 0d 00 96 |... . Z=1 . 6...| 00000110 1b 20 e7 20 47 20 8c 20 4e 3d b3 28 36 29 2b b3 |. . G . N=.(6)+.| 00000120 28 36 29 2b b3 28 36 29 0d 00 a0 14 20 e7 20 47 |(6)+.(6).... . G| 00000130 3d 30 20 8c 20 4e 3d 58 2b 59 2b 5a 0d 00 aa 14 |=0 . N=X+Y+Z....| 00000140 20 f1 20 8a 42 28 4e 29 2b 33 2c 4e 29 22 2a 22 | . .B(N)+3,N)"*"| 00000150 0d 00 b4 10 20 42 28 4e 29 3d 42 28 4e 29 2b 31 |.... B(N)=B(N)+1| 00000160 0d 00 be 08 20 ed 20 5a 0d 00 c8 08 20 ed 20 59 |.... . Z.... . Y| 00000170 0d 00 d2 08 20 ed 20 58 0d 00 dc 06 20 f9 0d ff |.... . X.... ...| 00000180