Post Reply 
(35s) Roll Two Dice at Random
09-04-2024, 02:32 PM
Post: #1
(35s) Roll Two Dice at Random
This program is adapted from my HP-11C Roll Two Dice at Random

https://www.hpmuseum.org/forum/thread-11103.html

----------------------------------------------------------------

Usage: Enter [SEED] and keep pressing [R/S]

Display shown First and Second Dice with Total Amount by

[ X1.X2 E X ]

---------------------------------------------------------------
Example: 0.123456 [SEED]

[R/S] display [5.4 E 9]

First Dice is 5 and Second Dice is 4 Total is 9

[R/S] Display [6.2 E 8]
[R/S] Display [2.1 E 3]
---------------------------------------------------------------
Program:
Quote:0001 XEQ A001
0002 STO A
0003 XEQ A001
0004 STO+ A
0005 10
0006 ÷
0007 +
0008 RCL A
0009 10^x
0010 x
0011 SCI 1
0012 RTN
A001 LBL A
A002 RAND
A003 6
A004 x
A005 1
A006 +
A007 INTG
A008 RTN

Gamo 9/2024
Find all posts by this user
Quote this message in a reply
11-29-2024, 05:50 AM
Post: #2
RE: (35s) Roll Two Dice at Random
That’s a cool way to simulate dice rolls on the HP-11C. It’s always fun to see creative ways people adapt tools for gaming purposes.
Find all posts by this user
Quote this message in a reply
11-29-2024, 07:18 AM
Post: #3
RE: (35s) Roll Two Dice at Random
I’ve used similar randomizers for quick decisions in games, but sometimes, when I don’t want to deal with complicated setups.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)