post new topic

Representing a PGN file - Data Stucture/Design Pattern

Related Forum Topics:
Represent Your chess site: Me Against Worl...
Software for learning opening variations
Best FREE software to analyze my games
Looking for Chess Software to annotate gam...
Annofritzed Games and test training positi...
Analysing amateur games vs. master game...


Representing a PGN file - Data Stucture/Design Pattern - 2006/08/13 22:29 I was eagerly wondering if anybody had any ideas on how to spontaneously represent a PGN file within software. I would imagine you would need some sort of tree to represent the different variations available. Also, are there games or set of federally games that implement all of the features of the PGN spec so I can test them against my software so that I am not mercilessly leaving anything out?
---------
Never doubt that a small group of thoughtful, committed people can change the world. Indeed, it is the only thing that ever has.



  Popular posts by mcbfan
Fritz 6/7 Sparring Mode
Extract from 'Dead Air' by Iain ...
  | | | post reply
Re:Representing a PGN file - Data Stucture/Design Pattern - 2006/08/13 22:42 Certainly tree is a Move with a reference (pointer) to a comment String. Also it is good if the Move (class/object/struct) has a NAG (Numeric Annotation Glyph) really associated with it. The result can either be a special Move or part of the Move (class/struct).
Hope this helps.



  Popular posts by mtweller
In what respects is SCID still b...
  | | | post reply

Related Products:

© 2008 ChessCircle
Joomla! is Free Software released under the GNU/GPL License.