pgnlib: a c++ library for PGN chess games

Tutorial Download Standard PGN Contact Me


1. Introduction

pgnlib is a C++ library providing a set of classes to handle file of chess games, written according to Portable Game Notation
The basic idea of pgnlib is to incapsulate each single pgn concept (tag, move, comment and more) into his own c++ class, to provide programmers with primitive pgn types.

gnu/linux is now both the development and target platform for pgnlib. Anyway I used so far only standard c++, so it should be not too difficult to port it on other platforms.

2. Intended audience

You should hardly be interested in pgnlib if you are not a c++ programmer.
So if you are a linux user looking for a free chess database program you are definitely in the wrong place, but don't panic ;-)
If this is the case I strongly recommend you to check out the SCID project, an outstanding free chess database.

3. Why pgnlib

I wrote pgnlib mainly to help myself programming simple tools to manage my own game collection.
It paid off, even if pgnlib is still too incomplete and inefficient to consider it for serious programming, things are improving albeit rather slowly.

4. License

pgnlib is free software and distribuited under the terms of GPL License

5. Usage

I did not write any documentation on pgnlib so far except for a brief tutorial showing basic usage of pgnlib to allow you to get started.

6. Downloading

To download the pgnlib tarball click here: download pgnlib

7. Contact me

Please feel free to send comments, questions, bug reports and any other type of feedback to vinzoni@users.sourceforge.net


SourceForge.net Logo Valid HTML 4.01!