chess.js icon indicating copy to clipboard operation
chess.js copied to clipboard

Redo a move

Open nickborti opened this issue 6 years ago • 3 comments

I have found out the way to undo a move. How can I redo now?

nickborti avatar Jan 11 '19 12:01 nickborti

@nickborti How do you undo a move?

balinterdi avatar May 24 '19 08:05 balinterdi

@balinterdi It's there in the chess.js library. source

nickborti avatar May 24 '19 12:05 nickborti

Store the moves in a separate array. This will help you create a timeline where you can rewind and fast forward time throughout the whole game. I intend to do so soon

JohnnyBlomgren avatar Mar 21 '20 08:03 JohnnyBlomgren