anchor.diff:                  [NewGame | Acc]
                 end, [], AllGameNames).
   
  +handle_event(Event, State) ->
  +  ?MODULE ! {event, Event},
  +  {ok, State}.
  +
   %%==============================================================================
   %% Utils
   %%==============================================================================
   subscribe_to(GameName) ->
  -  spts_core:subscribe(GameName, {?MODULE, self()}, self()).
  +  spts_core:subscribe(GameName, ?MODULE, gen_event).
   
   get_user_by_address(Address, Users) ->
     case lists:keyfind(Address, 3, Users) of
  
positive.code: % gen_server callbacks
  -export([init/1, terminate/2, code_change/3,
           handle_call/3, handle_cast/2, handle_info/2]).
  
  -define(UCHAR,  8/unsigned-integer).
  -define(USHORT, 16/unsigned-integer).
  
negative.code: %%==============================================================================
  %% Handlers
  %%==============================================================================
  -spec init(any()) -> {ok, state()}.
  init(gen_event) ->
    {ok, []};
  init([]) ->
    TRef = timer:send_interval(get_ms_per_update(), ?MODULE, update),
    {ok, #state{tick = 0, tref = TRef}}.
  