Anonymous user
Two bullet roulette: Difference between revisions
m
→{{header|REXX}}: changed whitespace.
m (added whitespace, indented options.) |
m (→{{header|REXX}}: changed whitespace.) |
||
Line 803:
=={{header|REXX}}==
{{trans|GO}}
This REXX version eliminates the spinning of the bullet chamber if the random number for a spin is '''6''' (which would
Line 810 ⟶ 811:
if cyls=='' | cyls=="," then cyls= 6 /*Not specified? Then use the default.*/
if tests=='' | tests=="," then tests= 100000 /* " " " " " " */
if datatype(seed, 'W')
scenarios= 'LsLsFsF LsLsFF LLsFsF LLsFF' /*the list of scenarios to be tested. */
#= words(scenarios) /*the number of actions in a scenario. */
|