Don't let the ai move if the user tries to make an illegal move