diff --git a/readme.md b/readme.md index ca3bc39..d1d8411 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,7 @@ # Cards For Humanity +Live at [https://cards.doordesk.net](https://cards.doordesk.net) + A game master server for the popular game [Cards Against Humanity](https://www.cardsagainsthumanity.com/) using data from [Chris Hallberg](https://crhallberg.com/)'s project [JSON Against Humanity](https://github.com/crhallberg/json-against-humanity) (everyone say "Thanks, Chris!") This started as a problem trying to play games with friends who are all on different platforms. This shall be as cross-platform as it gets. I want it to work on anything that can establish a connection and allow anyone to write any front-end they can dream up whether it be a web page, chat bot, VR, etc. Any clients who share a master server can play together across any platform. @@ -47,18 +49,17 @@ trunk build --release ### Server ```sh -cargo build +cargo build --release ``` --- -- The server automatically serves the built client from `/dist` at `0.0.0.0:3030` +- The server automatically serves the built client from `/dist` at `127.0.0.1:3030`. When building for release the client automatically points to doordesk -- Configure any custom clients to connect to `ws://0.0.0.0:3030/websocket` +- Configure any custom clients to connect to `ws://127.0.0.1:3030/websocket` for local testing or `wss://cards.doordesk.net/websocket` to use my server ## TODO: -- finish game logic - prevent zombie users after browser crash - figure out proper auth - client's problem? - use db