Skip to content

show captured pieces of players #9

@moonpatel

Description

@moonpatel

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.
image
For reference:
image

Metadata

Metadata

Assignees

Labels

frontendIssues related to frontendgood first issueGood for newcomershacktoberfestIssues related to hacktoberfest

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions