[erlang-questions] card game about gen_fsm how to

wenew zhang <>
Wed May 28 19:54:07 CEST 2008

Dear All,
    i used a gen_fsm in a cards game, when  gen_fsm-server in one status
,(just like 'SEND_CARDS'),of course,the gen_fsm hold many status like this,
but whichever status the gen_fsm in, the client can send a force quit
message to interrupt the current status,
i have more than ten status,need i write ten+ quit message process in each
status to fix this problem?

that's very boring

any simple solution to fix this?


wenew zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080529/f687e732/attachment.html>

More information about the erlang-questions mailing list