--- a/src/rps.erl Mon Mar 03 22:19:53 2014 +0900
+++ b/src/rps.erl Thu Mar 06 19:38:46 2014 +0900
dict:update_counter(Winner, 1, Wins),
dict:update_counter(Hand, 1, Hands));
+ Format = fun({Who, W}) -> {rps_nickserv:whois(Who), W} end,
+ WinsByNickname = lists:map(Format, dict:to_list(Wins)),
- wins, dict:to_list(Wins),
hands, dict:to_list(Hands)}},
counter(Plays, Draws, Wins, Hands)