I didn't see error messages. How would I find those?
I've tried changing stalemated as suggested, but the problem still occurs. It is not clear to me how I would end up with empty moves or how to avoid that.
I was thinking of switching to the fairychess include file but I thought I'd try to get things working with what I'd already started first. I'd need my own stalemated subroutine either way.
I didn't see error messages. How would I find those?
I've tried changing
stalemated
as suggested, but the problem still occurs. It is not clear to me how I would end up with empty moves or how to avoid that.I was thinking of switching to the fairychess include file but I thought I'd try to get things working with what I'd already started first. I'd need my own stalemated subroutine either way.