chess
chess copied to clipboard
Deselecting pieces now works when u click another piece and other improvements to code
The updated Chessboard component introduces enhancements for a more intuitive user experience, with a key highlight being the implementation of deselection functionality. Streamlined logic and improved event handling, including precise mouse interactions and canvas drawing capabilities, enhance interactivity. Utilizing useEffect ensures the canvas remains up-to-date, while refactoring and cleanup optimize code organization and maintainability.
@notvaishakh add screenshots and videos
already fixed by #172
Closing in favor of https://github.com/code100x/chess/pull/172