home · contact · privacy
Simplify using the curses client to connect to current demo server.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 15 Nov 2020 22:39:02 +0000 (23:39 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 15 Nov 2020 22:39:02 +0000 (23:39 +0100)
rogue_chat_curses.py
rogue_chat_curses.sh [new file with mode: 0755]

index 0644a4ccc439ebda77eacce232162748a7aeabac..e0f2f6a096b1ba43599930be8c28febb63444df6 100755 (executable)
@@ -762,4 +762,5 @@ class TUI:
                 self.send('TASK:WRITE %s %s' % (key, quote(self.password)))
                 self.switch_mode('play')
 
-TUI('localhost:5000')
+#TUI('localhost:5000')
+TUI('wss://plomlompom.com/rogue_chat/')
diff --git a/rogue_chat_curses.sh b/rogue_chat_curses.sh
new file mode 100755 (executable)
index 0000000..fa78c01
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+# thin wrapper around running the curses client with dependencies installed
+python3 -m venv .venv
+. .venv/bin/activate
+pip install -r requirements_client.txt
+./rogue_chat_curses.py