debug legality testing for human moves