Where in the code is AI's blocking/targetting logic?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
2 posts
• Page 1 of 1
Where in the code is AI's blocking/targetting logic?
by mark » 21 Mar 2012, 09:50
I would like to take a look at it (see viewtopic.php?f=26&t=3681&p=85580#p85577)
Re: Where in the code is AI's blocking/targetting logic?
by Chris H. » 21 Mar 2012, 10:20
`mark wrote:I would like to take a look at it (see viewtopic.php?f=26&t=3681&p=85580#p85577)
The AI code tends to be spread among a number of different java classes. Sloth and a few other people have more experience in this are than myself.
These two classes look like a good place to start for AI attacking and blocking code:
src.main.java.forge.ComputerUtilAttack.java
src.main.java.forge.ComputerUtilBlock.java
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 47 guests