I think I accidentally deleted a comment while deleting some test comments.
1.The castling moves are not shown although they work.
The code for this goes in the stalemated subroutine, and here is what you have in that subroutine:
// Castling code removed, since Apothecary Chess does not include castling.
So you need to add some code for it there. You can probably borrow some from the one in the fairychess include file. I'm not sure if it will require any modification. Try it without modification first and see how it works.
I think I accidentally deleted a comment while deleting some test comments.
The code for this goes in the stalemated subroutine, and here is what you have in that subroutine:
So you need to add some code for it there. You can probably borrow some from the one in the fairychess include file. I'm not sure if it will require any modification. Try it without modification first and see how it works.