projects
/
pyrisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7191e8
)
Fix missing dispatchers in base.random_game EmailPlayer init.
author
W. Trevor King
<wking@drexel.edu>
Fri, 26 Mar 2010 08:50:49 +0000
(
04:50
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 26 Mar 2010 08:50:49 +0000
(
04:50
-0400)
pyrisk/base.py
patch
|
blob
|
history
diff --git
a/pyrisk/base.py
b/pyrisk/base.py
index 2a9028173a298ec5ae2f9f022fbf41cdf8f621fa..295b27b1e3c69830313d8122c2f31ba5d2d9c823 100644
(file)
--- a/
pyrisk/base.py
+++ b/
pyrisk/base.py
@@
-791,7
+791,7
@@
def random_game():
world = generate_earth()
ied = IncomingEmailDispatcher(fifo_path='/tmp/pyrisk.in')
oed = OutgoingEmailDispatcher(return_address='server@example.com')
- players = [EmailPlayer('Alice', 'alice@big.edu'),
+ players = [EmailPlayer('Alice', 'alice@big.edu'
, ied, oed
),
Player('Bob'), Player('Charlie')]
e = Engine(world, players)
e.run()