15 puzzle game: Difference between revisions

m
→‎{{header|REXX}}: corrected a misspelling.
m (→‎{{header|Perl 6}}: Update for latest Rakudo, simplify board generation - no need to check parity)
m (→‎{{header|REXX}}: corrected a misspelling.)
Line 1,735:
This REXX version allows the user to specify the size of the puzzle   ('''N''',   where   '''NxN'''   is the size of the puzzle).
 
With some more complexity, the REXX computer program could be changed to allow multiple-tile moves   (so that, for instance, three tiles could be slideslid to the right).
<lang rexx>/*REXX program implements the 15-puzzle (AKA: Gem Puzzle, Boss Puzzle, Mystic Square).*/
parse arg N seed .; sep= '────────' /*obtain optional arguments from the CL*/