GTK-Chess icon indicating copy to clipboard operation
GTK-Chess copied to clipboard

Add global structure for all game info

Open pddshk opened this issue 1 year ago • 0 comments

Add structure named game_info

  1. game_info structure declaration should be placed in typedecl.h
  2. Global variable game should be declared in globals.h

Fields

Fields should be fully compatible with PGN file format and could extend it for additional features reasons.

List of field can be found on Wikipedia

So minimal number of fields should be

  • Event
  • Site
  • Date
  • Round
  • White
  • Black
  • Result
  • Annotator
  • PlyCount
  • TimeControl
  • Time
  • Termination
  • Mode
  • FEN
  • Movetext which should be actually a state_tree

pddshk avatar Jun 06 '23 16:06 pddshk