Download:
child 3:8bbf038c39cc
parent 1:f44d2a7c91f4
2:ecb57261bc30
Anton Shestakov <engored@ya.ru>, Sun, 23 Feb 2014 00:19:13 +0900
Intermediate bot state: "joined" the lobby, but not in a room yet.

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
rps.erl file | annotate | diff | comparison | revisions
--- a/rps.erl Sun Feb 23 00:17:17 2014 +0900
+++ b/rps.erl Sun Feb 23 00:19:13 2014 +0900
@@ -88,9 +88,9 @@
fool() ->
lobby ! {join, self()},
- fool(undefined).
+ fool(joined).
-fool(undefined) ->
+fool(joined) ->
receive
{room, Room} ->
random:seed(now()),