diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-03-07 22:14:10 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-03-07 22:14:10 +0100 |
commit | 911547d0e4e3838fa71cc3f71e5f472114e01431 (patch) | |
tree | b62cee7709fe159a6765378748c7ef28514178fb /tictactoe-2/apps/ttt_server/src/game.erl | |
parent | d6b2edd8cef2a3ab1bb9488fe7e82920a1333af1 (diff) | |
download | erlang-workshop-911547d0e4e3838fa71cc3f71e5f472114e01431.tar.gz erlang-workshop-911547d0e4e3838fa71cc3f71e5f472114e01431.tar.bz2 erlang-workshop-911547d0e4e3838fa71cc3f71e5f472114e01431.tar.xz erlang-workshop-911547d0e4e3838fa71cc3f71e5f472114e01431.zip |
wip
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 -> |