Topic: Server coding help
Hello, i am thinking in create a multiplayer game, i will create de server in python, but i don't have much experience in server<->client relationship, i hope some developer can help me understand the concept. First, why i ask here for help? i've seen the game and i think the multiplayer "real time" playing is very well so i tought this comunity could help me.
My client, when it connects, it will "present" himself by sending a message to the server saying that he is XX user. When the server receive this, it will send it to all the other online connections, so the client adds the element on the screen.
Whene someone press a key, for example <right>, it has to send a message to all the connections saying that XX user has move to X,X position, so the client must move that character to that position.
I have done some "experiments" with this concept, using sockets and threads in python, and it seams to work fine, but i want you to say me if thats right or there is another way to do this, or some advice, something to know before start coding like a monkey and have to re-do all again...
i will appreciate any kind of help, thank you very much, and good luck.