[erlang-questions] game engines?

Unix One <>
Sun Sep 18 18:14:28 CEST 2016


On 09/17/2016 07:11 PM, Miles Fidelman wrote:
> Hi Folks,
>
> I'm curious, has anybody written an Erlang-based game engine that
> implements a process per game entity?
>
> I've been been finding various examples of Erlang being used to manage
> user sessions, and other aspects of MMORPGs - but nothing that simply
> does the obvious - treating each object, player, etc. as an Erlang process.

I wrote a very bare bones generic turn based game server

https://github.com/unix1/nuk

where every instance of a game, and every active player is an Erlang 
process. It doesn't have a concept/storage for objects in the game (did 
I mention it's very bare bones?), but it seems like not too complex to 
add based on use cases.

On a side note, I don't have much game-writing experience, but it seems 
like they might benefit greatly from their own DSLs, in which case I 
thought LFE is probably better suited for the task.

Finally, please do share what you mean and/or links re: "other aspects 
of MMORPGs". I'm interested. Thank you.


More information about the erlang-questions mailing list