jhlywa / chess.js

A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
BSD 2-Clause "Simplified" License
3.72k stars 892 forks source link

unique id for each piece #452

Open random-user-837 opened 8 months ago

random-user-837 commented 8 months ago

add a unique identifier for each piece to facilitate precise change detection and optimize rendering performance in Angular or React applications.

synasapmob commented 7 months ago

can you give me something E.x?