precheck move validity and added hidden territory