The bots talk at the table, each name in one of four tempers: a word on taking a chair, one from one of them as the duel begins, a line on a hard blow, a wizard brought down, its own death or the win, now and then a remark on a quiet turn, and an answer when named or when the talk speaks of bots; their lines go on the ledger as talk and are not counted as people talking in the tally or the visitors report. A duel in which every wizard has fallen while bots still stand is played out by the bots on the spot, where it used to wait forever for a turn no one could give
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0141G6xqLeNRYEtviLWSB5Up
This commit is contained in:
1 parent
07ebc41623
commit
89bc4083fc
6 files changed
+318
-10
No files matched your search
+2
-1
@@ -61,7 +61,8 @@ for f in glob.glob("/var/lib/waving-hands/rooms/*.jsonl"):
|
||||
elif x["t"] == "reseat":
|
||||
seat_changes.append("%s %s re-seated" % (datetime.datetime.fromtimestamp(x["at"] / 1000, datetime.timezone.utc).strftime("%H:%M"), names.get(x["id"], x["id"])))
|
||||
elif x["t"] == "chat":
|
||||
talk += 1
|
||||
# The bots talk too; the count is of people.
|
||||
talk += 0 if names.get(x["id"]) in bots_seated else 1
|
||||
elif x["t"] == "over":
|
||||
over = "a draw" if x["winner"] is None else "%s won" % names.get(x["winner"], x["winner"])
|
||||
for h in humans:
|
||||
|
||||
Reference in new issue
Block a user