Player.select_territory returns territory name rather than instance.
authorW. Trevor King <wking@drexel.edu>
Fri, 26 Mar 2010 04:34:59 +0000 (00:34 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 26 Mar 2010 04:36:36 +0000 (00:36 -0400)
commit482152eea863c189481db90c37616b2beb5c898e
tree90b1378c3d0e827cb688ea9ef2614980d9625061
parent66065ddb11b4ee407c7e7a9562b54e20bd8088c1
Player.select_territory returns territory name rather than instance.

To keep the Player interface as simple (and tamper-resistant :) as
possible, Player methods should return names instead of instances
of risk-specific classes.

Also fixed a deck -> self.deck typo in Engine.
risk/base.py