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
Ensure rough feature parity between clients.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
game.py
diff --git
a/new2/plomrogue/game.py
b/new2/plomrogue/game.py
index 1cb6e2232b7d59542a37e08e9264a58da538efde..da148460d0c244b3f350bd6c0ada8c407ec5e4e3 100755
(executable)
--- a/
new2/plomrogue/game.py
+++ b/
new2/plomrogue/game.py
@@
-16,6
+16,7
@@
class GameBase:
def __init__(self):
self.turn = 0
self.things = []
def __init__(self):
self.turn = 0
self.things = []
+ self.map_geometry = MapGeometrySquare(YX(24, 40))
def get_thing(self, id_, create_unfound):
# No default for create_unfound because every call to get_thing
def get_thing(self, id_, create_unfound):
# No default for create_unfound because every call to get_thing
@@
-42,7
+43,6
@@
class Game(GameBase):
'MOVE': Task_MOVE,
'WRITE': Task_WRITE,
'FLATTEN_SURROUNDINGS': Task_FLATTEN_SURROUNDINGS}
'MOVE': Task_MOVE,
'WRITE': Task_WRITE,
'FLATTEN_SURROUNDINGS': Task_FLATTEN_SURROUNDINGS}
- self.map_geometry = MapGeometrySquare(YX(24, 40))
self.commands = {'QUERY': cmd_QUERY,
'ALL': cmd_ALL,
'LOGIN': cmd_LOGIN,
self.commands = {'QUERY': cmd_QUERY,
'ALL': cmd_ALL,
'LOGIN': cmd_LOGIN,