Starting and ending the program BCK.
This map computes the state n+1, in the case of a normal move, and in the case of a backtracking move.
In[342]:=
This map starts the game.
In[344]:=
This map start the game after checking that A is a well-formed formula.
In[345]:=
We allow another argument x for BCK[A]. x is either a string including game parameters, or a saved play (represented by list of moves). This is the map processing the new argument x of BCK, according if x is string or a list.
In[346]:=
We allow any number of new arguments. This is the map processing any list of arguments of BCK. Here, y__ represents any list x'_, x''_, ... of one or more arguments.
In[348]:=
We first process all new arguments of BCK, then we compute BCK[A].
In[349]:=
This map ends the game.
In[350]:=
We add a counter for all moves from all plays. This counter is reset to 0 once, increased by 1 after each move. It is never reset to 0.
In[351]:=
Created by Mathematica (October 17, 2006)