Programing AI for fighting warriors