all works...perhaps :D

correct mate logic + correct move logic when shah