scripting - Hierarchical state machine implementation in Erlang -


I'm planning a turn based game (a kind of board game), and the backend will probably be played in Erlang. Logic part seems a fit for a hierarchical state machine, but I'm not sure how to implement it in Enlong.

Perhaps I can create a separate process with each child, not sure if this will work.

Another option would be to embed a scripting language or to create DSL for this purpose.

What do you think?

Thank you.

As a starting point, I suggest you to look at You probably want to look at a more detailed form.


Comments