Compare commits

...
This repository has been archived on 2025-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.

1 commit

Author SHA1 Message Date
Jeena Paradies
e84e9cef53 added interface 2011-02-16 16:05:55 +01:00

View file

@ -0,0 +1,36 @@
%% @doc This module represents a Player with a Socket and a Token
-module(ggs_table).
-export([
start_link/1,
add_player/2,
remove_player/2,
stop/2,
notify/3
]).
% @doc returns a new table
start_link(Token) ->
not_implemented().
% @doc adds a player to a table
add_player(Table, Player) ->
not_implemented().
% @doc removes player form a table
remove_player(Table, Player) ->
not_implemented().
% @doc stops the table process
stop(Table) ->
not_implemented().
% @doc notifies the table with a message from a player
notify(Table, Player, Message) ->
not_implemented().
% loop
% private helpers