Morpion solitaire: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: added the REXX language. -- ~~~~) |
m (→{{header|REXX}}: changed the number of unique moves to 73 (from 63). -- ~~~~) |
||
Line 292: | Line 292: | ||
<br>This is a work in progress and currently doesn't log the moves in the manner asked for by this task. |
<br>This is a work in progress and currently doesn't log the moves in the manner asked for by this task. |
||
<br>The moves are marked by ''' 0123456789ABC...XYZabc...xyz()[]{}<>«» ''' and thereafter by a plus sign (+) on the board which is shown in 2D. |
<br>The moves are marked by ''' 0123456789ABC...XYZabc...xyz()[]{}<>«» ''' and thereafter by a plus sign (+) on the board which is shown in 2D. |
||
<br>This allows |
<br>This allows 73 unique moves to be shown on the board (or grid), but all moves are also logged to a file. |
||
<br>Currently, the computer tries to start the game (with sixteen moves) by the assumptions I made, which clearly aren't worth a tinker's dam. |
<br>Currently, the computer tries to start the game (with sixteen moves) by the assumptions I made, which clearly aren't worth a tinker's dam. |
||
<br>This program allows the <tt> D </tt> or <tt> T </tt> forms of the game, and allows any board size (grid size) of three or higher. |
<br>This program allows the <tt> D </tt> or <tt> T </tt> forms of the game, and allows any board size (grid size) of three or higher. |