working pong-bot

This commit is contained in:
Jeena Paradies 2011-04-13 03:44:00 +02:00
parent 5bcd7260d3
commit 16045afb21
5 changed files with 237 additions and 149 deletions

View file

@ -102,7 +102,7 @@ handle_cast({game_cmd, Command, _Headers, Data}, #state { table = Table } = Stat
ggs_table:notify(Table, self(), {game, Command, Data}),
{noreply, State};
handle_cast(_Request, St) ->
handle_cast(Request, St) ->
{stop, unimplemented1, St}.
handle_info({tcp, _Socket, Data}, #state { protocol = Protocol } = State) ->