they were never aware of it , for demiris 's mathematical mind made a game of exacting retribution , patiently working out elaborate traps and spinning complex webs that finally caught and destroyed his enemies .