chess.ts
chess.ts copied to clipboard
Variations
handle variations:
- promote variation
- demote variation
- delete variation
- delete remaining moves
- update move method (actual move method if the move already played it create a new node with the same move )