[0]: https://math.stackexchange.com/a/846750/34343
https://en.wikipedia.org/wiki/Fifty-move_rule
(I'm not the author of chessboardjs, just stumbled over it)