From f70b38598ec55eb8036d3f0e301c9e39df567dee Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Sun, 25 Oct 2020 03:25:02 +0100 Subject: [PATCH] Add link to server source code. --- new2/rogue_chat.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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", -- 2.30.2