I am creating a simple multiplayer puzzle game in which multiple players can join a lobby and compete with each other. the player that submits the answer first gets the highest point, the player that submits the answers second gets the second highest point and so on..
How do I maintain the order of request on the server side?
I assume i cannot use an event-based server as it would become impossible to process requests in order.
a simple multithreaded server would be an ideal choice in this case as the requests will be short-lived.
initially, I was thinking to create the server in python but since it has not so good support for "real threads" it would mean compromising on performance.
My two main questions are:
- how is this scenario generally handled?
- how is this scenario generally handle if the language of choice is python?