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:
a0afb82
)
Add link to server source code.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Oct 2020 02:25:02 +0000
(
03:25
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Oct 2020 02:25:02 +0000
(
03:25
+0100)
new2/rogue_chat.html
patch
|
blob
|
history
diff --git
a/new2/rogue_chat.html
b/new2/rogue_chat.html
index bc90c07e72d09ac8b6dc5a51f0c7b26911bbce59..7ba548b119f19cfaf74b373faed4084ea2ba0548 100644
(file)
--- a/
new2/rogue_chat.html
+++ b/
new2/rogue_chat.html
@@
-4,7
+4,8
@@
canvas { border: 1px solid black; }
</style>
<body>
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"
<script>
"use strict";
let websocket_location = "ws://localhost:8000"
@@
-154,11
+155,15
@@
let game = {
let chat = {
input_line:"",
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",
" To write on the map, enter on a single",
+ "",
" contain whitespace, escape them with \\.",
" Use double quotes for strings that",
" contain whitespace, escape them with \\.",
" Use double quotes for strings that",
+ "",
" Use arrow keys to move your avatar.",
" 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",
" QUERY USER TEXT - send TEXT to USER",
" ALL TEXT - send TEXT to all users",
" LOGIN USER - register as USER",