Morpion solitaire/Unicon: Difference between revisions

Content added Content deleted
m (→‎Strategy Support: endif for extended ifdef)
m (→‎Basic Solution: tweak text)
Line 24: Line 24:


== Basic Solution ==
== Basic Solution ==
The code need to solve the task requirements is found in this section. Just delete the $define below. The basic code will play a single random game, show an ASCII art grid, and produce a log in Pentasol compatible notation. On any given run your most likely to see a game with scores in the 20's or 60's.
=== Main and Core Game Play Procedures ===
=== Main and Core Game Play Procedures ===
<lang Unicon>link printf,strings,options
<lang Unicon>link printf,strings,options


$define MORPVER "1.7f" # version
$define MORPVER "1.7f" # version
$define EXTENDED 1 # comment for basic version
$define EXTENDED 1 # delete line for basic


procedure main(A) # Morphion
procedure main(A) # Morphion