16 puzzle game: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Ring}}: Remove vanity tags) |
m (→{{header|REXX}}: used gooder English.) |
||
Line 19: | Line 19: | ||
<br>The user's responses may have optional whitespace in the answer, |
<br>The user's responses may have optional whitespace in the answer, |
||
and the answer can be in any case (lower or uppercase). |
and the answer can be in any case (lower or uppercase). |
||
<br>Not all errors are checked |
<br>Not all errors are checked so as to keep the program simpler. |
||
<lang rexx>/*REXX pgm implements the 16 game; displays game grid, prompts for a move, game won? */ |
<lang rexx>/*REXX pgm implements the 16 game; displays game grid, prompts for a move, game won? */ |
||
sep= copies('─',8); pad=left('',1+length(sep) ) /*pad=9 blanks. SEP is used for msgs.*/ |
sep= copies('─',8); pad=left('',1+length(sep) ) /*pad=9 blanks. SEP is used for msgs.*/ |