MarkZH / Genetic_Chess

An amateur attempt at breeding a chess-playing AI.
MIT License
10 stars 2 forks source link

Simpler PGN reading #154

Closed MarkZH closed 1 week ago

MarkZH commented 1 week ago

Replace functions that return bool with ones that throw an exception on encountering errors. This simplifies the logic and reduces the number of return statements.

Fixes #152

MarkZH commented 1 week ago

Will need to check if the new version is slower.