TKPending / ChessGame

HTML and Javascript Chess Game
0 stars 0 forks source link

CG-23 Included friendly in valid moves #35

Closed TKPending closed 9 months ago

TKPending commented 9 months ago

In normal moves, a piece won't be able to move onto a friendly piece/tile. But for checkmate, this has to be taken into consideration. As a king won't be able to jump onto a piece which is being attacked / defended by another piece of the same team.