bhlangonijr / chesslib

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

Simplify routine for writing FEN positions #86

Closed seize-the-dave closed 2 years ago

seize-the-dave commented 2 years ago

Simplified some of the code around writing FEN positions by removing unnecessary variables and reducing overall complexity.