PGN Arrow and Highlights

In Version 1.0.101, Support has been added for the PGN standard Arrows and Highlights. Arrows and highlights can be found in PGN files in the following format

[%cal Ra1a8] for a Red arrow from a1 to a8

and

[%clr Ge4,Re5] to highlight squares e4(Green) and e5(Red).

Example PGN:

[Event "London Chess Classic 2016"]
[Site "London"]
[Date "2016.12.18"]
[Round "9.1"]
[White "So, Wesley"]
[Black "Vachier-Lagrave, Maxime"]
[Result "1/2-1/2"]
[BlackElo "2804"]
[WhiteElo "2794"]
[LiveChessVersion "1.4.8"]
[ECO "A04"]

{[%cal Re2e4,e4e5] [%csl Re2,Re4]}1. Nf3  c5  2. c4  Nc6
 3. Nc3  e5  4. e3 {[%cal Ra1a8,Ga8h8]}
 Nf6  5. Be2  d5 {[%cal Rh1h8,Gh4a4] [%csl h1,h8,h4]}
6. d4  cxd4  7. exd4  e4
 8. Ne5  dxc4  9. Bxc4
 Nxe5  10. dxe5  Qxd1+
 11. Kxd1  Ng4  12. e6
 fxe6  13. Nxe4  Bd7
 14. f3  Ne5  15. Bb3
 Rd8  16. Bd2  Nd3
 17. Kc2  Nb4+  18. Bxb4
 Bxb4  19. Nc3  Ke7
 20. Rhe1  Bxc3  21. Kxc3
 Rc8+  22. Kd2  Rhd8
 23. Ke3  e5  24. Rad1
 Bc6  25. h4  h6
26. a3  Rxd1  27. Rxd1  Rf8
 28. Rf1  Rf4  29. g3
 Rd4  30. Rd1  Rxd1
 31. Bxd1  g5  32. hxg5
 hxg5  33. f4  gxf4+
 34. gxf4  exf4+  35. Kxf4
 1/2-1/2

Configure the colors

Which colors to be used can be configured in your WordPressChess admin (WordPressChess->WordPressChess)

Here, you configure the Red, Green and Blue colors. If left empty, default colors will be used.

Share This:

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.