Set puzzle: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: fixed TT html tag.) |
Walterpachl (talk | contribs) m (→{{header|REXX}}: it's -> its) |
||
Line 1,852: | Line 1,852: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
Language note: each REXX implementation has |
Language note: each REXX implementation has its own method of determining a starter ''seed'' for generating |
||
<br>pseudo-random numbers, and in addition, that starter seed may be dependent upon operating system factors, |
<br>pseudo-random numbers, and in addition, that starter seed may be dependent upon operating system factors, |
||
<br>hardware architecture, and other things like the (local) date and time-of-day, and other such variables. |
<br>hardware architecture, and other things like the (local) date and time-of-day, and other such variables. |
||
The algorithm is also not the same for all REXX implementations |
|||
<br>The particular set of cards dealt (show below) used Regina 3.82 under a Windows/XP environment. |
<br>The particular set of cards dealt (show below) used Regina 3.82 under a Windows/XP environment. |
||
<lang rexx>/*REXX program finds "sets" (solutions) for the SET puzzle (game). */ |
<lang rexx>/*REXX program finds "sets" (solutions) for the SET puzzle (game). */ |