PGN annotator - a new (in progress) chess tool

PGN annotator - a new (in progress) chess tool

Jan 3, 2014, 8:13 AM |

One of the things I have always wanted was the ability to take notes written in online games and be able to easily combine them into a pgn for reviewing, well I finally decided to get off my backside and do something,

the pgn annotator has the ability to take a (un annotated pgn from this site) and merge in a collection of notes from the white and or black player and make a single pgn....


example inputs



[Event "Welcome to!"]

[Site ""]

[Date "2012.01.23"]

[White "TeePeeDee"]

[Black "AnOpponent"]

[Result "1-0"]

[WhiteElo "1248"]

[BlackElo "1211"]

[TimeControl "1 in 3 days"]

[Termination "TeePeeDee won by resignation"]


1.e4 e5 2.Nf3 Nc6 3.Nc3 d6 4.Bc4 Bg4 5.Nd5 Bxf3 6.Qxf3 Qd7 7.c3 O-O-O 8.O-O f6 9.d3 g6 10.Nxf6 Nxf6

 11.Qxf6 Be7 12.Qe6 Qxe6 13.Bxe6+ Kb8 14.Bh6 Bf8 15.Bg5 Be7 16.Bh6 Bf8 17.Be3 h5 18.Bf7 Rd7 19.Bxg6 Rg7 20.Be8 Rhg8

 21.g3 Kc8 22.Bxh5 Ne7 23.d4 exd4 24.Bxd4 c5 25.Bxg7 Bxg7 26.Rad1 Be5 27.f4 Bf6 28.Rxd6 1-0

White notes 
5  (aim keep knight on strong square as long as possible, threatens c7 fork on rook king if queen is brought out or c7 can't be defended)-bxf3
7 (prevent knight to d4  and giving black knight very few undefended squares)
9 (mobilising bishop)
10 debate give up d5 to take pawn on f6? - take  the pawn if black  takes back queen can take
11 take back the knight
12 (threaten queen)
Choice now retreat queen or offer queen exchange go for exchange
13 black should have to move king), then decisions as to what to do next, Bishops on h6 and d5 are tempting as they would prevent black using rooks
17 ! I think, pawn on g6 is lost
18 winning a pawn but is it just making black's job of attacking the king easier?
19 threaten knight (and exchange which would expose black's king somewhat) and the h flie pawn
20 no choice but to move bishop.... aggressive to threaten pawn and knight (though neither is undefended)
21 still very worried about attack rooks are mounting on the f file
22 I really didn't get the purpose of his move maybe to try and limit the bishop's options but he has his eye on the h pawn - got it.... relieves a little pressure on g3 
23 start to bring some pressure from the pawns
24 black takes pawn, but has nothing to hold the square so attack the double rooks
25 still looking to threate
26 attack d file
Black notes
6 preparing to castle
17 threaten the bishop
18 threatening the bishop and very nasty attack on f2
19 launch attack on king
20 King looks very exposed by doubled rooks threatening f2 pawn
22 knight is out of it's cage but still struggling for safe squares
24 bishop attack, rook is lost
and example output
work in progress still but if interest exists beyond my own, I will probably release it open source