Permalink
Browse files

removed unnecessary io:format statements

  • Loading branch information...
1 parent 0a1bb5e commit dc7e86a84285662b15b04db9ad9ab2e633522910 @dnene committed Mar 29, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −1 src/alley_sup.erl
  2. +0 −2 src/game.erl
  3. +0 −1 src/game_sup.erl
View
@@ -8,7 +8,6 @@ start_link(LaneCount) ->
supervisor:start_link({local, ?MODULE}, ?MODULE,[LaneCount]).
init([LaneCount]) ->
- io:format("Here ~w~n",[LaneCount]),
{ok, {{one_for_one, 1, 10}, % {RestartStrategy, MaxR, MaxT}
[
{game_sup, % id
View
@@ -43,7 +43,6 @@ handle_cast(_Message,State) ->
%% Initialisation
%%-----------------------------------------------------------------
init([Lane, PlayerNames]) ->
- io:format("Into init~n",[]),
PlayerGames = [{PlayerName, player:create(PlayerName)} ||
PlayerName <- PlayerNames],
io:format("~p~n",[PlayerGames]),
@@ -99,7 +98,6 @@ process_score({PlayerName,Pins},
TurnOver,
[{PlayerName,PlayerState}|PendingPlayers]=AllPendingPlayers,
GameOver}) ->
- io:format("State is ~p~n",[PlayerState]),
case player:play(PlayerName, Pins, PlayerState) of
{turn_over, Response, NewPlayerState} ->
% Turn over for current player
View
@@ -5,7 +5,6 @@
-author('Dhananjay Nene').
start_link() ->
- io:format("Yippee~n",[]),
supervisor:start_link({local, ?MODULE}, ?MODULE,[]).
start_child(Lane, PlayerNames) ->

0 comments on commit dc7e86a

Please sign in to comment.