home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix map line width check.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
io.py
diff --git
a/new2/plomrogue/io.py
b/new2/plomrogue/io.py
index d740f8c42972879e9f911d21ba5edf5e6d9c1e84..2283a986d10717511778b1d79aa5dca4b4919557 100644
(file)
--- a/
new2/plomrogue/io.py
+++ b/
new2/plomrogue/io.py
@@
-4,11
+4,12
@@
import queue
class GameIO():
class GameIO():
- def __init__(self, game):
+ def __init__(self, game
, save_file='savefile'
):
from plomrogue.parser import Parser
self.clients = {}
self.parser = Parser(game)
self.game = game
from plomrogue.parser import Parser
self.clients = {}
self.parser = Parser(game)
self.game = game
+ self.save_file = save_file
def loop(self, q):
"""Handle commands coming through queue q, run game, send results back."""
def loop(self, q):
"""Handle commands coming through queue q, run game, send results back."""