ChessHub
ChessHub copied to clipboard
show captured pieces of players
Show the captured pieces of the players and the opponent. Use the same images that are used in the board for this purpose.
You need to add another variable that holds the capturedPieces in the state in useReducer() of chess-game-context.jsx file
The captured piece should be displayed in this area.
For reference:
Could you assign this one to me please?
Yeah sure @twong17