Added fortification to the basic Player AI.
authorW. Trevor King <wking@drexel.edu>
Sat, 27 Mar 2010 01:56:41 +0000 (21:56 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 27 Mar 2010 01:56:41 +0000 (21:56 -0400)
commitefb81a5579292a08de0bf157994cb61681d7f8b1
tree316f75e89f32b271e8851762db39f70b0b8d5620
parent4daa764c23e469af28590ec062a15afea1da0426
Added fortification to the basic Player AI.

This will excercise the fortification code during random_game()s.

Also moved Player.border_territories functionality into a combo of
Player.territories and a new Territory.border.  This makes it easy to
iterate through non-border territories looking for out-of-the-way
armies for fortification.

Finally, limit the players to one fortification per turn ;).
pyrisk/base.py