Python dependencies for the server and client are listed in
./requirements_server.txt and ./requirements_client.txt respectively.
+To install them:
+$ pip3 install -r requirements_server.txt
+$ pip3 install -r requirements_client.txt
To run the RogueChat engine as TCP server on port 5000:
$ ./rogue_chat.py SAVEFILE --server-type tcp --port 5000
To connect the example curses server to the TCP port of the server:
$ ./rogue_chat_curses.py 'localhost:5000'
-To connect the example curses server to the WebSocket port of the server:
+To connect the example curses client to the WebSocket port of the server:
$ ./rogue_chat_curses.py 'ws://localhost:8000/'
The following automatically install the curses client's dependencies in a
Python virtual environment and runs the client against
'wss://plomlompom.com/rogue_chat/', where an example RogueChat server
-runs. The same is targeted by ./rogue_chat.html, an example web browser
-client that emulates the curses client via HTML and JavaScript.
+runs:
+
+$ ./rogue_chat_curses.sh
+
+The same is targeted by ./rogue_chat.html, an example web browser client
+that emulates the curses client via HTML and JavaScript.