How to connect two repls via websockets in PYTHON?
Can someone please give me the two things I have been looking for for over a year?
1) A WORKING websocket server code example (in python) that other repls can connect to. It can be as simple as returning a number.
2) A WORKING websocket client code example to recieve the data that would work in repl.
I tried to build a game a while back, but it failed. I would like to rebuild it in real-time mmo, but I need the above to do so.
If you can help, it will be much appreciated!
Do you want to work with raw websockets, or would you mind using a library such as socketio? Also, will your game be a web application or a standalone program?