A comprehensive JavaScript library for draughts/checkers game logic with multiple variants support, FEN validation, and draw detection