Game Server Write In Erlang