0

I have create a simple chess system which accepts long algebraic notation for playing, now to test I need some chess games in LAN format, yet I'm not finding a single game; AIs are not helpful as most are giving wrong values (with invalid moves).

I have searched in chess.com and other famous chess libraries, yet I'm not able to find a single chess game in LAN format.

Can anyone guide me to any site or location where I can find chess games in LAN?

1
  • Can you clarify what exactly you mean by Long Algebraic Notation? There's two variations, one which is akin to standard notation, but includes the starting square (e.g. "Nb1-c3"). But there's the other which is used by UCI chess engines which merely gives the starting and ending squares (e.g. "b1c3"). My assumption is that the latter would be more likely to exist online, but I doubt that either are very commonly available as most people use PGN files for sharing games. Commented Aug 26 at 14:36

1 Answer 1

4

If you don't want to code your own program, you can use pgn-extract. Its -Wlalg option will output long algebraic and its -Whalg will output hyphenated long algebraic.

2
  • I believe that this is going to be the best way to get LAN as most games shared online are shared with the PGN format, which dictates standard algebraic notation. So I doubt that there are many places to download games in LAN directly. So the best solution is likely going to be converting a PGN file to LAN. Commented Aug 26 at 14:32
  • this worked like a charm Commented Aug 27 at 13:12

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.