sashman / kingdomforge

2 stars 1 forks source link

Architecture: networking and persistent state #3

Open sashman opened 11 years ago

sashman commented 11 years ago

Background

Currently the game has no persistent state on the server and has no networking capabilities what so ever. A design is needed to accommodate multiplayer functionality.

What needs to be done

The task here is just to come up with the design. This will allow for a clearer view on the further emergent tasks.

How to do it

Discuss and illustrate! Work through a few examples. Add the designs to a section in the wiki.

sashman commented 11 years ago

Link on nodejs native extensions: https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions/

sashman commented 11 years ago

Networking pseudocode added to wiki https://github.com/sashman/kingdomforge/wiki/Design#network-protocol