Your problem is similar to ants ai challange . - where each player has a colony, and he needs to protect him, collect food and destroy the colony of opponents [not perfect for your problem, but similar]
, , . .
min-max ( , , , , , ) -- ( , , ).
- , , .
: