shaladi/battlecode — pull request #3 by viperchris3 (2014-01-19 20:58:18+00:00)
Title: Added barnabasTheDevastator, whose strategy is to attack enemy PASTRs with squads

Soldiers form squads, which are groups of specified amount of soldiers who follow orders from one leader soldier.

In this strategy, enemy PASTRs are targeted for attack. If no enemy PASTRs exist, our PASTRs are targeted for patrol/protection. If neither team has PASTRs, the leader of each squad walks around randomly, and all following soldiers of the squad follow the leader.

To test the friendly PASTR protection, the code is set up so that follower soldiers will create a PASTR with 1% probability.