Anonymous user
Rock-paper-scissors: Difference between revisions
m
→traditional, 3 choices: added/changed some wording in the REXX preamble.
m (→traditional, 3 choices: added/changed some wording in the REXX preamble.) |
|||
Line 3,887:
::* issues appropriate error messages for an incorrect (or no) choice(s)
::* allows the human player to QUIT at any time
::* keeps track of the human player's responses (to hopefully make future computer winning choices)
::* uses proper "English" ''rock breaks scissors''
<lang rexx>/*REXX program plays rock─paper─scissors with a human; tracks what human tends to use. */
!= '────────'; err=! '***error***'; @.=0 /*some constants for this program. */
|