--- a/src/rps3.erl Mon Mar 03 20:22:21 2014 +0900
+++ b/src/rps3.erl Mon Mar 03 22:17:13 2014 +0900
handle_call(get_hands, _From, State=#ruleinfo{hands=Hands}) ->
-% winner for 3 hands is:
-% rock, rock, rock -> rock
-% rock, paper, scissors -> undefined
-% rock, paper, paper -> paper
-% rock, rock, paper -> paper
handle_call({winning_hand, Hands}, _From, State) ->
{reply, rps_rules:winning_hand(Hands, State), State};