updating AI to handle middle 'right triangle' attacks