Commits

Shlomi Fish  committed 4e41bb2

Add the Comment struct.

  • Participants
  • Parent commits d6b4d0f

Comments (0)

Files changed (1)

File fc-solve/docs/new-universal-solitaire-solutions-standard-format-proposal-v0.1.txt

     Foundation_Id foundation;
 }
 
+# This comment is used by human players to annotate their solutions.
+# Alternatively, it can be used by automated solvers.
+# See http://tech.groups.yahoo.com/group/fc-solve-discuss/message/173
+Comment = Struct {
+    union {
+        Plain_Text_Comment; # Plain Text
+        XHTML_Subset_Comment; # A comment as HTML Subset.
+    }
+    String originator;
+    String ID;
+}
+
 Move = Struct {
     Source_Or_Dest_Id source;
     Source_Or_Dest_Id dest;
     Card source_card; # Optional
     Card dest_card; # Optional
     bool implicit; # Whether this move is done implicitly by an automove.
+    Comment comment; # Optional
 }
 
 Move_With_Position = Struct {