web sockets html5 stuff
I want to know how web servers work. Can I just write some server code and host it on something like Google App Engine and then write some client code and host it on github and then I can make a multiplayer online game? Can someone help me get started on nodejs or socket.io or stuff like that? Something simple like writing the server code for connecting and disconnecting and printing out a string and uploading the code to somewhere.
Yes, you've got the basic concept down -- you write some server-side code and have each client (player) connect to it.
Have you seen the example code on the node.js website? It's a very basic example of a server application which simply responds to any request by returning a "hello world" message.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement