diff options
Diffstat (limited to 'tictactoe-2/apps/ttt_server/src/game.erl')
-rw-r--r-- | tictactoe-2/apps/ttt_server/src/game.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tictactoe-2/apps/ttt_server/src/game.erl b/tictactoe-2/apps/ttt_server/src/game.erl index 1b8aff2..608b5a8 100644 --- a/tictactoe-2/apps/ttt_server/src/game.erl +++ b/tictactoe-2/apps/ttt_server/src/game.erl @@ -30,7 +30,7 @@ loop(State) -> loop(State); {From, show} -> Str = ttt:format(State#state.board), - io:format("game ~p: current state:~n~p~n", [Id, Str]), + io:format("game ~p: current state:~n~s~n", [Id, Str]), From ! Str, loop(State); code_changed -> |