Open nvrnight opened 6 years ago
Need a way to be able to revert moves.
Something like game.Undo(5) which should undo the last 5 moves. Preferably removing them from the Moves history or having some way to filter out reversal moves so the previous move(after the undo) can be calculated and shown on the board.
FYI: I'm working on this.
Partially done by MisinformedDNA in #25 - a few variants remain where implementation is required.
Need a way to be able to revert moves.
Something like game.Undo(5) which should undo the last 5 moves. Preferably removing them from the Moves history or having some way to filter out reversal moves so the previous move(after the undo) can be calculated and shown on the board.