X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_free?a=blobdiff_plain;f=rogue_chat_nocanvas_monochrome.html;h=59d03a98141cda17de586e956b1abd6d88bf8dff;hb=4839d55d29f092d74d10597232ec0f3fe08936f2;hp=4ea33d6b2b715b1c9f115dd0064bb5e4bb271bec;hpb=bdc9cfa20f92bb41749790ac4943ab2a11e39d9a;p=plomrogue2
diff --git a/rogue_chat_nocanvas_monochrome.html b/rogue_chat_nocanvas_monochrome.html
index 4ea33d6..59d03a9 100644
--- a/rogue_chat_nocanvas_monochrome.html
+++ b/rogue_chat_nocanvas_monochrome.html
@@ -1,30 +1,37 @@
terminal rows:
terminal columns:
-
+
-
for mouse players
+
source code (includes proper terminal / curses client)
+
button controls for mouse players
- |
- |
+ |
+ |
|
- |
- MOVE |
+ |
+ move |
|
|
- |
+ |
|
@@ -599,16 +606,8 @@ let tui = {
}
document.getElementById("help").disabled = false;
if (this.mode.name == 'play' || this.mode.name == 'study' || this.mode.name == 'control_tile_draw') {
- document.getElementById("move_left").disabled = false;
- document.getElementById("move_right").disabled = false;
- if (game.map_geometry == 'Hex') {
- document.getElementById("move_upleft").disabled = false;
- document.getElementById("move_upright").disabled = false;
- document.getElementById("move_downleft").disabled = false;
- document.getElementById("move_downright").disabled = false;
- } else {
- document.getElementById("move_up").disabled = false;
- document.getElementById("move_down").disabled = false;
+ for (const move_key of document.querySelectorAll('[id^="move_"]')) {
+ move_key.disabled = false;
}
}
if (!this.mode.is_intro && this.mode.name != 'play') {