Added Engine.fortify (previously fortification would break Engine)
authorW. Trevor King <wking@drexel.edu>
Sat, 27 Mar 2010 01:40:33 +0000 (21:40 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 27 Mar 2010 01:40:33 +0000 (21:40 -0400)
commit4daa764c23e469af28590ec062a15afea1da0426
tree3475ba97f1fdbb39fc0c9da56a9b7d76d92a6826
parentec736930138c2d912fdbf74db8c14390f0e38a5b
Added Engine.fortify (previously fortification would break Engine)

Also moved adjacency check from Engine.attack_and_fortify to
Engine.attack and Engine.fortify.  This will make it easier for
subclasses to change the rules (e.g. non-adjacent fortifications).

Also reordered attack / conquer log messages:
  'attacked X from Y' -> 'X attacks Y'
which is shorter and makes the A:B ratios more clear.
pyrisk/base.py
pyrisk/log.py