Morpion solitaire: Difference between revisions
Content added Content deleted
m (added graphic of typical game) |
m (tweak task text - other editors - please review task description it should be ready) |
||
Line 5: | Line 5: | ||
The task is to get the computer to play a game of [[wp:Morpion solitaire|Morpion solitaire]]. For this task, it is acceptable for the computer to make randomly selected valid moves, rather than playing the strongest move each time. Use the standard version, with 5 point lines that allows parallel lines to touch at the endpoints. |
The task is to get the computer to play a game of [[wp:Morpion solitaire|Morpion solitaire]]. For this task, it is acceptable for the computer to make randomly selected valid moves, rather than playing the strongest move each time. Use the standard version, with 5 point lines that allows parallel lines to touch at the endpoints. |
||
[[File:Morpion 5T67-typical.png|thumb|right|A typical random game of 5T]] |
[[File:Morpion 5T67-typical.png|thumb|right|A typical random game of "touching" (5T) morpion as rendered by Pentasol]] |
||
(Proposed additional requirement): |
(Proposed additional requirement): Provide sample output. Preferably the output should be a record of moves suitable for replay using Pentasol. Alternately, ASCII art can be used; however, games rendered in this manner may not provide enough information to replay the game. Please see [[Talk:Morpion_solitaire#Game_Notation|the discussion on game notation and rendering]] for more information. |
||
'''Playing Morpion Solitaire''' |
'''Playing Morpion Solitaire''' |