Installation:
- install nodejs and npm
- clone this repository
- in the project directory, run comand: npm install express loglevel moment nodejs-websocket
- in the myrpg/node-modules direcotry, clone the mylog repository
- to start the server, run command: nodejs main.js
- opne the client at browser, url: http://localhost:8080
- use w, a, s, d to move the player!
Design:
Client Server(Presentation Servers <--------------------------> Game Logic <-------> Database)
<-- |- http: for static contents
<-- |- restful: for resources delivering
<--> |- websocket: for realtime game communication