From: Christian Heller Date: Sun, 15 Nov 2020 22:39:02 +0000 (+0100) Subject: Simplify using the curses client to connect to current demo server. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=5702b6ad7f60dcc52ddbfe9cbedf13750ef84532;p=plomrogue2 Simplify using the curses client to connect to current demo server. --- diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 0644a4c..e0f2f6a 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -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 index 0000000..fa78c01 --- /dev/null +++ b/rogue_chat_curses.sh @@ -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