The start of my submission for MIT's 2012 BattleCode competition (battlecode.org). Obviously I didn't get anywhere. :(
Our entry for BC2012