(15c)(35s) Yahtzee (Yam) game
|
10-29-2018, 11:17 PM
(This post was last modified: 01-23-2020 10:58 PM by pinkman.)
Post: #1
|
|||
|
|||
(15c)(35s) Yahtzee (Yam) game
Hi everyone,
This is a simple Yahtzee game for the HP35s. Usage : Start the game by fixing display to 0 (it could be done programmatically, but I prefer letting these kind lf things done by the user), then enter 0 and XEQ Y. The computer choses 5 dice, eg 45331 You can chose the dice you want to keep by simply keying them, eg 33 Then start the program again with R/S. The next roll will only chose the dice you need, keeping the ones you selected, eg 33613 To start with a roll of all 5 dice simply key 0 then R/S. Example : 0 XEQ Y (ENTER) display: 12565 125 R/S display: 12533 1253 R/S display: 12534 You did it! Next player: 0 R/S Code:
|
|||
01-23-2020, 10:56 PM
(This post was last modified: 01-23-2020 10:58 PM by pinkman.)
Post: #2
|
|||
|
|||
RE: (15c)(35s) Yahtzee (Yam) game
Because nobody asked for it, I created the HP15c version!
Same usage : Start the game by fixing display to 0, then enter 0 and USER E. The computer choses 5 dice, eg 45331 You can chose the dice you want to keep by simply keying them, eg 33 Then start the program again with USER E. The next roll will only chose the dice you need, keeping the ones you selected, eg 33613 To start with a roll of all 5 dice simply key 0 then USER E. Example : 0 USER E display: 12565 125 (keep dice 1, 2 and 5) USER E display: 12533 1253 USER E display: 12534 You did it! Next player: 0 USER E Code:
Uses: Registers 5 and I (you can change them easily) Labels E, .1, .2, .3 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)