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
Allow selection of grid geometry via MAP command. A lot refactoring.
[plomrogue2-experiments]
/
server.py
diff --git
a/server.py
b/server.py
index 2a7b55cf530439623c022e7db0c9dadc7b250b95..9791d5f0bacf830fd4faa19a2b23b6184c2be0b1 100755
(executable)
--- a/
server.py
+++ b/
server.py
@@
-20,7
+20,7
@@
if os.path.exists(game_file_name):
print("FILE INPUT LINE %s: %s" % (i, line), end='')
game.io.handle_input(line, store=False)
else:
print("FILE INPUT LINE %s: %s" % (i, line), end='')
game.io.handle_input(line, store=False)
else:
- game.io.handle_input('MAP Y:5,X:5')
+ game.io.handle_input('MAP
Hex
Y:5,X:5')
game.io.handle_input('TERRAIN_LINE 0 "xxxxx"')
game.io.handle_input('TERRAIN_LINE 1 "x...x"')
game.io.handle_input('TERRAIN_LINE 2 "x.X.x"')
game.io.handle_input('TERRAIN_LINE 0 "xxxxx"')
game.io.handle_input('TERRAIN_LINE 1 "x...x"')
game.io.handle_input('TERRAIN_LINE 2 "x.X.x"')