Hacker News new | ask | show | jobs
by james_marks 583 days ago
Is there not an open standard for this? I glanced and didn’t see anything, but seems crazy every chess project would need to define the game.
1 comments

There are open components for generic purposes, e.g. draw the board given a PGN, show the moves, check if moves are legal and so on, but they aren't suitable for engine internals. There are several tricks with bits to store positions, hashing schemes for transposition tables and the likes that are key to unlock the maximum performance possible, and they are usually tied to the engine implementation.
Interesting, that makes sense.

Given that, I think what I’m imagining is a PGN linter & renderer.