TKPending / ChessGame

HTML and Javascript Chess Game
0 stars 0 forks source link

CG-14 Handle invalid tiles #19

Closed TKPending closed 9 months ago

TKPending commented 9 months ago

Fixed all the movement errors in this fix. The issue that was occurring was that, pieces were generating pieces that were off the board. By adding the bound check from the get go prevents out of bound pieces being considered avoiding, invalid generations