(50G) RPSSL (Rock Paper Scissors Spock Lizard) - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (50G) RPSSL (Rock Paper Scissors Spock Lizard) (/thread-8182.html) |
(50G) RPSSL (Rock Paper Scissors Spock Lizard) - Joe Horn - 04-16-2017 06:51 PM Everybody knows the ancient game of "Rock, Paper, Scissors" which even has its own Wikipedia page. Almost as well known is the much newer 5-weapon version called "Rock Paper Scissors Spock Lizard" (aka RPSSL), invented by Sam Kass and Karen Bryla. The simple rules are on its official website. Here's a surprisingly short HP 50g program that plays RPSSL, user against calculator, complete with the official winning messages! Note: "SCISSORS DECAPITATE LIZARD" has been changed to "SCISSORS STAB LIZARD" to fit the display. INSTRUCTIONS: (1) Run RPSSL. See "PICK ONE!" at the top of the screen. The soft menu keys are now labeled ROCK, PAPER, SCISSORS, SPOCK, LIZARD, and EXIT. (2) Choose a weapon by pressing it. The calculator immediately chooses its weapon (without looking at yours!) and displays the result of the match, e.g. "YOU: SPOCK. ME: LIZARD. LIZARD POISONS SPOCK. I WIN!" (3) Repeat step 2 until you are sufficiently entertained. (4) Press the EXIT soft menu key to exit and return the menu to its previous contents. Code: %%HP: T(3)A(R)F(.); BYTES without name: 546.0 #3BA8h Note: Originally posted on comp.sys.hp48 on 12 March 1998 for the HP 48. |