yo35 / kokopu-react

A React-based library to create and display chessboard and chess-related components.
https://www.npmjs.com/package/kokopu-react
GNU Lesser General Public License v3.0
6 stars 1 forks source link

FEATURE REQUEST: add moveList and moveTo parameters to Chessboard #6

Closed JeffML closed 4 months ago

JeffML commented 4 months ago

In addition, add forward/back controls to the Chessboard diagram if a move list is provided (instead of a position object). Currently, I have to maintain and manage moves in a separate object, then extract a FEN and redraw Chessboard.

yo35 commented 4 months ago

Version 3.1.0 adds NavigationBoard, i.e. a component representing a chessboard + forward/backward buttons to navigate within the positions of a Game object.

JeffML commented 4 months ago

Very good. Thank you!