PGN Technical question

Discuss anything you like about chess related matters in this forum.
Post Reply
User avatar
Michael Farthing
Posts: 1780
Joined: Fri Apr 04, 2014 1:28 pm
Location: Morecambe, Europe

PGN Technical question

Post by Michael Farthing » Thu Oct 30, 2014 6:34 pm

Draw offers should be recorded on scoresheets by (=) but I cannot find any reference to draw offers in the pgn specification. Can anyone tell me if there is a formal method of representation of a draw offer within the current spec or, alternatively, if there is a generally accepted approach (eg a custom NAG)?

[Note: this is for programming purposes so interoperability with other automated systems is necessary. Obviously I could just use {(=)} but this loses the possibility of machine interpretation]

User avatar
IM Jack Rudd
Posts: 3862
Joined: Tue Apr 17, 2007 1:13 am
Location: Bideford

Re: PGN Technical question

Post by IM Jack Rudd » Thu Oct 30, 2014 6:42 pm

There's no formal method, no. If needed, they're put in as comments.

User avatar
Michael Farthing
Posts: 1780
Joined: Fri Apr 04, 2014 1:28 pm
Location: Morecambe, Europe

Re: PGN Technical question

Post by Michael Farthing » Thu Oct 30, 2014 6:52 pm

Thanks Jack. Rather what I feared. Seems a bit of an omission as it's now a formal part of the notation, but I suppose pgn predates that.

User avatar
Rob Thompson
Posts: 757
Joined: Wed Jul 15, 2009 12:03 pm
Location: Behind you

Re: PGN Technical question

Post by Rob Thompson » Fri Oct 31, 2014 12:01 am

I don't think they're regularly used in published games either, which is probably also due more to tradition than conscious decision.
True glory lies in doing what deserves to be written; in writing what deserves to be read.

User avatar
Michael Farthing
Posts: 1780
Joined: Fri Apr 04, 2014 1:28 pm
Location: Morecambe, Europe

Re: PGN Technical question

Post by Michael Farthing » Fri Oct 31, 2014 9:46 am

It raises the interesting question of whether the rule is also ignored in play as well! I must admit that I do not record the majority of draw offers and my impression is that my opponents don't record them either. It came to a head because I reformed myself and did actually do so at the Leyland Congress. This thread arose because when entering the game into my own (self-written) database I realised it couldn't handle the draw offer.

How meticulous are others in recording draw offers?

User avatar
Rob Thompson
Posts: 757
Joined: Wed Jul 15, 2009 12:03 pm
Location: Behind you

Re: PGN Technical question

Post by Rob Thompson » Fri Oct 31, 2014 10:18 am

I always record draw offers, though to me this is to show that I've heard the offer as much as to have it noted for future reference.
True glory lies in doing what deserves to be written; in writing what deserves to be read.

soheil_hooshdaran
Posts: 2775
Joined: Tue Nov 05, 2013 5:24 pm

Re: PGN Technical question

Post by soheil_hooshdaran » Fri Oct 31, 2014 3:21 pm

Michael Farthing wrote:Draw offers should be recorded on scoresheets by (=) but I cannot find any reference to draw offers in the pgn specification. Can anyone tell me if there is a formal method of representation of a draw offer within the current spec or, alternatively, if there is a generally accepted approach (eg a custom NAG)?

[Note: this is for programming purposes so interoperability with other automated systems is necessary. Obviously I could just use {(=)} but this loses the possibility of machine interpretation]
some draw offers are indicated by "1/2". Look for the Unicode

soheil_hooshdaran
Posts: 2775
Joined: Tue Nov 05, 2013 5:24 pm

Re: PGN Technical question

Post by soheil_hooshdaran » Fri Oct 31, 2014 3:24 pm

Michael Farthing wrote:It raises the interesting question of whether the rule is also ignored in play as well! I must admit that I do not record the majority of draw offers and my impression is that my opponents don't record them either. It came to a head because I reformed myself and did actually do so at the Leyland Congress. This thread arose because when entering the game into my own (self-written) database I realised it couldn't handle the draw offer.

How meticulous are others in recording draw offers?
I don't record them too.I guess I record a draw offer once in my some 15-year career

Post Reply