bhlangonijr / chesslib

chess library for legal move generation, FEN/PGN parsing and more
Apache License 2.0
229 stars 80 forks source link

Support for LAN notation #20

Closed wolfraam closed 4 years ago

wolfraam commented 4 years ago

It would be great if MoveList would also have a toLan() method, which would return the moves in the long algebraic notation.

bhlangonijr commented 4 years ago

Hi @wolfraam , it has support to LAN notation indeed - the default methods are the ones.

wolfraam commented 4 years ago

Great!

To make this clear for future developers, maybe add the toLan() method anyway? I'll leave it up to you, closing this issue.

bhlangonijr commented 4 years ago

@wolfraam sure, I should add this method as an alias for toString().