Answer the question
In order to leave comments, you need to log in
What to read about developing a server for a browser game?
Hello!
I set out to write a browser-based online game - a turn-based strategy.
On HTML5 client, JS. Not sure about the server yet.
Recommend literature (articles, books) about backend development for this task.
ps what technologies would you choose?
Answer the question
In order to leave comments, you need to log in
VitaZheltyakov , no, I'm just leading to the fact that the role of the server is far from being
The role of the server in browser games is simple - to accept the client's request, send the request to the database and return the response to the client.
read the source code, there is github.com/tlhunter/Cobalt-Calibur-3
at hand, I
saw a few more open
I write in tornado if real-time processing and output is required, or in django if this functionality is not required. Actually, in the second case, any other language/framework that can be used to create web applications can be suitable.
What is there to read?
All basic calculations take place on the client. The role of the server in browser games is simple - accept the client's request, send the request to the database, and return the response to the client. If you understand how the client works, then there will be no problems with the server.
This statement is based on personal experience.
Regarding technologies:
- Now I'm writing a step-by-step MMORPG in PHP. In the future, I plan to abandon PHP towards Node.js because of sockets.
A very interesting option is Smart Fox Server. Many tasks have already been solved there. There are APIs for as3, unity 3d and a couple more. You can also expand the functionality of the rooms with java classes or in python. There is a convenient admin panel. Tutorials are attached.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question