Disservin / chess-library

C++ chess library
https://disservin.github.io/chess-library/
MIT License
71 stars 22 forks source link

rename internal move counter #27

Closed robertnurnberg closed 12 months ago

robertnurnberg commented 12 months ago

This PR renames the internal full move counter from full_moves_ to plies_played_, and reflects the new name in the value that it holds. I.e. the new variable is always 2 lower than the old variable.

Also use member functions for some accesses to the (half) move counters.