Why does the bot play with illegal moves and sometimes double moves?
I added debug statements to track the positions of pieces before and after moves, especially after a capture
I added debug statements to track the positions of pieces before and after moves, especially after a capture