OK, I replaced the islower everywhere in the include file by fnmatch "*[a-z]*", and isupper by fnmatch "*[A-Z]*". This seems to solve the problem of friend/foe discrimination. I hope there aren't any piece sets that use piece labels that mix upper and lower case...
OK, I replaced the islower everywhere in the include file by fnmatch "*[a-z]*", and isupper by fnmatch "*[A-Z]*". This seems to solve the problem of friend/foe discrimination. I hope there aren't any piece sets that use piece labels that mix upper and lower case...