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?
A WORKING websocket server code example (in python) that other repls can connect to. It can be as simple as returning a number.
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!
@DarthDoofus Hey, thanks for your interest!
I am working on a game. I built a game a while back called BitGenerals (now taken down) that used databases to technically connect users, but I figure that real-time would be better.
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?