set the finished tag to prevent the AI from moving if the user wins