Where in the code is AI's blocking/targetting logic?

I would like to take a look at it (see viewtopic.php?f=26&t=3681&p=85580#p85577)
High Quality Resources for Collectible Card Games
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=6692
`mark wrote:I would like to take a look at it (see viewtopic.php?f=26&t=3681&p=85580#p85577)