From: Christian Heller <c.heller@plomlompom.de> Date: Sun, 25 Oct 2020 02:25:02 +0000 (+0100) Subject: Add link to server source code. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/ledger?a=commitdiff_plain;h=f70b38598ec55eb8036d3f0e301c9e39df567dee;p=plomrogue2-experiments Add link to server source code. --- diff --git a/new2/rogue_chat.html b/new2/rogue_chat.html index bc90c07..7ba548b 100644 --- a/new2/rogue_chat.html +++ b/new2/rogue_chat.html @@ -4,7 +4,8 @@ canvas { border: 1px solid black; } </style> <body> -<canvas id="terminal" /> +<p><canvas id="terminal" /></p> +<p>(running against <a href="https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blob;f=new2/rogue_chat.py">some plomrogue engine experiment</a>)</p> <script> "use strict"; let websocket_location = "ws://localhost:8000" @@ -154,11 +155,15 @@ let game = { let chat = { input_line:"", - history: [" visible ASCII char in the input prompt.", + history: ["", + " visible ASCII char in the input prompt.", " To write on the map, enter on a single", + "", " contain whitespace, escape them with \\.", " Use double quotes for strings that", + "", " Use arrow keys to move your avatar.", + "", " QUERY USER TEXT - send TEXT to USER", " ALL TEXT - send TEXT to all users", " LOGIN USER - register as USER",