[erlang-questions] card game about gen_fsm how to
Wed May 28 19:54:07 CEST 2008
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions