X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=README.txt;h=0f59b23eee34c3a7065d19dd1e143ab2fc4b8068;hb=97b606810ee702789497f9e842718441585ad545;hp=48b36aa133fa6eacdeb0361304195867573afc72;hpb=f4e55ffc4ae34874d57f087894b73934eaebd383;p=plomrogue2 diff --git a/README.txt b/README.txt index 48b36aa..0f59b23 100644 --- a/README.txt +++ b/README.txt @@ -16,6 +16,9 @@ obvious deviations from the roguelike standard are: 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 @@ -31,11 +34,15 @@ world. 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. +'wss://rc3.plomlompom.com/rogue_chat/', where an example RogueChat server +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.