[erlang-questions] What is best way to maintain state in a web-based multiplayer game?

Garrett Smith g@REDACTED
Tue Jul 15 19:55:51 CEST 2014


On Tue, Jul 15, 2014 at 11:03 AM, Lloyd R. Prentice
<lloyd@REDACTED> wrote:
>
> I'm thinking through the design of a web-based multiple-player game. Each player maintains a private database--- most likely dets. Each player moves through nested finite state machines. Each player may be logging in or out at any state of play.
>
> At this point my grasp of Erlang architecture breaks down. I don't understand how best to:
>
> - parse game structure across players, processes, and directories
> - maintain player state between sessions
>
> At this point in my Erlang education I feel like I know the words but can't play the music.

Out of curiosity, and as a possible valuable exercise, how would you
tackle this problem in another platform -- one that you're more versed
in for this type of application?

Garrett



More information about the erlang-questions mailing list