Post Reply 
(12C) Roll Two Dice at Random
12-30-2018, 10:18 AM
Post: #5
RE: (12C) Roll Two Dice at Random
This is the "added on" version from the program on Post #2

This add on included the x.x 00000 xx display

First dice is on the Integer digit
Second dice is on the first decimal digit
Total is on the Exponent

Example:
[R/S] display First Dice Pause then display second Dice and shown
First dice . Second Dice 00000 XX // X is the total of both dice

[R/S] "4" "2" final display [4.2 00000 06]

Program:
Code:

01  0
02  GTO 05
03  LSTX
04  1
05  RCL 0
06  9
07  9
08  7
09  x
10  FRAC
11  STO 0
12  6
13  x
14  INTG
15  1
16  +
17  FIX 0
18  PSE
19  x
20  X=0?
21  GTO 03
22  +
---------------------------
23 X<>Y
24 LSTx
25  1
26  0
27  รท
28  +
29 X<>Y
30  1
31  0
32 X<>Y
33 Y^X
34  x
35 FIX .   // the dot is the decimal button [.]

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C) Roll Two Dice at Random - Gamo - 04-24-2018, 03:04 AM
RE: (12C) Roll Two Dice at Random - Dieter - 04-26-2018, 07:40 PM
RE: (12C) Roll Two Dice at Random - Gene - 04-26-2018, 07:50 PM
RE: (12C) Roll Two Dice at Random - Dieter - 04-26-2018, 08:07 PM
RE: (12C) Roll Two Dice at Random - Gamo - 12-30-2018 10:18 AM



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