Slow down the robots

This commit is contained in:
Correl Roush 2017-11-21 20:48:32 -05:00
parent 53c94f05b1
commit 2c5a347467

View file

@ -15,6 +15,7 @@ init([Name]) ->
handle_call({choose, Actions}, _From, State) -> handle_call({choose, Actions}, _From, State) ->
[Action|_] = sort_actions(Actions), [Action|_] = sort_actions(Actions),
timer:sleep(300),
{reply, Action, State}; {reply, Action, State};
handle_call(get_name, _From, State) -> handle_call(get_name, _From, State) ->