Morpion solitaire/Unicon: Difference between revisions

Content added Content deleted
(→‎Main and Core Game Play Procedures: make basic vs. extended framework clearer)
m (→‎Interface, Parameters, Globals: make difference between core vs. extended code clearer)
Line 272: Line 272:
=== Interface, Parameters, Globals ===
=== Interface, Parameters, Globals ===


<lang Unicon>$ifdef EXTENDED
<lang Unicon>global M_Strategy,M_Eval,M_Mvalid # Pluggable procedures

global M_CommandLine,M_Config,M_GameType,M_GameSave
# --- Interface, Parameters, Additional Globals ---

global M_Eval # Pluggable procedure
global M_SrchWid,M_SrchDep # For strategy modules
global M_LogDetails,M_PrintDetails # Misc.
global M_LogDetails,M_PrintDetails # Misc.
global M_CommandLine,M_Config,M_GameType,M_GameSave
global M_Output # output files
global M_Limit,M_StatUpd,M_BestL,M_WorstL # Multi-game simulation options
global M_Limit,M_StatUpd,M_BestL,M_WorstL # Multi-game simulation options
global M_SrchWid,M_SrchDep # For strategy modules
global M_ReplayFile,M_ReplayAfter,M_Rseed # For game replay
global M_ReplayFile,M_ReplayAfter,M_Rseed # For game replay
global M_WriteGame,M_ReadGame,M_GameFmt # Game formats to use
global M_ReadGame,M_GameFmt # Game formats to use
global M_ChartW,M_ChartG # histogram
global M_ChartW,M_ChartG # histogram

# --- Beginning of Non-core (Extended) code ---


procedure MorpionConf(A) # Configure the Solver
procedure MorpionConf(A) # Configure the Solver