why am i doing this to myself. almost have checks working, but it's taken some fung shui-ification. kings can still move into attacked squares for some reason. sigh