Cloudworks is a very sturdy client-server infrastructure. It contains the simple messenger functions as well as clients communicating requests with the server user, and vice versa. First it checks for an active server (a user that is hosting, and is actively updating the counter). If it finds one, it will request to join. If not, you become the server. A highly useful implementation is the Blocklist, which is a list of usernames you can add or remove from which you will block from joining. This project was rather difficult to make. Annoyingly, with this infrastructure, it is not possible to detect when users leave the server. There is an activity list (server only) which tells you when users join or are blocked. Try it! Open a split-screen browser window, and, one at a time, get them to connect. The first one will become the server, the other will request. by @Techsoft2020 This is almost entirely cloud based.