Quickcheck for ggs_network. Part of the pongbot.

This commit is contained in:
Kallfaktorn 2011-05-11 09:10:07 +02:00
parent e6ff8b6f16
commit 9efd739cbb
8 changed files with 381 additions and 3 deletions

View file

@ -34,7 +34,7 @@ init(_Args) ->
Ball = new_pos(),
Paused = true,
Start = false,
Socket = ggs_network:connect(), %Localhost is set internally inside ggs_network.
{ok, Socket} = ggs_network:connect(), %Localhost is set internally inside ggs_network.
State1 = dict:new(),
State2 = dict:store(player1, Player1, State1),
State3 = dict:store(player2, Player2, State2),