home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a466115
)
Empty client log before each new turn.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 20 Dec 2019 02:10:18 +0000
(
03:10
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 20 Dec 2019 02:10:18 +0000
(
03:10
+0100)
new/example_client.py
patch
|
blob
|
history
diff --git
a/new/example_client.py
b/new/example_client.py
index 27960057766110908af16a304b7b91d2a63dd256..bd8bcfd1a8a9667f762e74b22414cb13e860663a 100755
(executable)
--- a/
new/example_client.py
+++ b/
new/example_client.py
@@
-79,6
+79,7
@@
cmd_TURN_FINISHED.argtypes = 'int:nonneg'
def cmd_TURN(game, n):
"""Set game.turn to n, empty game.things."""
+ game.log_text = ''
game.turn = n
game.things = []
game.pickable_items[:] = []