matthewkchung / CPTR328_Chess_Project

0 stars 0 forks source link

Short castling and long castling is not possible for either white or black #3

Closed matthewkchung closed 3 weeks ago

matthewkchung commented 3 weeks ago

Now short castling is possible, I am working on long castling

matthewkchung commented 3 weeks ago

Long castles should be possible now but I haven't checked yet

matthewkchung commented 3 weeks ago

Update: Just checked long castles. It doesn't work for black, possibly not for white either. it's throwing index out of bounds

matthewkchung commented 3 weeks ago

Long castling now works. The issue was the incorrect coordinate was used: it is now fixed,

from = "e8", to = "c8" for black