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 remote connections into TCP server.
[plomrogue2-experiments]
/
server.py
diff --git
a/server.py
b/server.py
index cdeb27dc6c5081093c37117d8e144818098379a1..cb9150b8d6e05a00993f6c4073057db350d8f8bc 100755
(executable)
--- a/
server.py
+++ b/
server.py
@@
-17,7
+17,7
@@
if os.path.exists(game_file_name):
lines = f.readlines()
for i in range(len(lines)):
line = lines[i]
lines = f.readlines()
for i in range(len(lines)):
line = lines[i]
- print("FILE INPUT LINE %s: %s" % (i, line), end='')
+ print("FILE INPUT LINE %
5
s: %s" % (i, line), end='')
game.io.handle_input(line, store=False)
else:
game.io.handle_input('GEN_WORLD Hex Y:16,X:16 bar')
game.io.handle_input(line, store=False)
else:
game.io.handle_input('GEN_WORLD Hex Y:16,X:16 bar')