An attack and defense between obstacles in a fortress