From 2c5a3474671fd676c9463ae1a45a16775345b5d6 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 21 Nov 2017 20:48:32 -0500 Subject: [PATCH] Slow down the robots --- src/player_dummy.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player_dummy.erl b/src/player_dummy.erl index ae63de6..7c2fd34 100644 --- a/src/player_dummy.erl +++ b/src/player_dummy.erl @@ -15,6 +15,7 @@ init([Name]) -> handle_call({choose, Actions}, _From, State) -> [Action|_] = sort_actions(Actions), + timer:sleep(300), {reply, Action, State}; handle_call(get_name, _From, State) ->