Pig the dice game: Difference between revisions

Content deleted Content added
m →‎{{header|REXX}}: changed the (optional) choice of the number of sides of a die to '''2''' (as a one-sided die would make the game pointless). -- ~~~
m →‎{{header|REXX}}: corrected a misspelling. -- ~~~~
Line 612:
say 'and the' @sn2w "is: " win ' (or greater).'
!.=; dieNames='ace duece trey square nickle boxcar' /*die face names.*/
/*note: snake eyseyes is for two2 aces.*/
do i=1 for 6; !.i=' ['word(dieNames,i)"] "; end /*i*/
s.=0 /*set all player's scores to zero*/