HP Forums
(30b) Game of Craps Program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (30b) Game of Craps Program (/thread-2442.html)



(30b) Game of Craps Program - Gerald H - 11-17-2014 08:17 AM

Actuate programme to return integer from 2 to 12 distributed as when throwing 2 six-faced dice.

0 P9
1 Craps
2 2
3 Input
4 Input
5 Lbl 01
6 Swap
7 Rand
8 6
9 *
10 Math
11 Up
12 Up
13 Input
14 +
15 Swap
16 1
17 -
18 Input
19 GT 01
20 R↓
21 RTN