fixed a bug: when check-mate move is not played and therefore not recorded as invalid