Permalink
Browse files

Added a new player lisa

  • Loading branch information...
Joachim
Joachim committed Jan 29, 2013
1 parent df932a0 commit f0090ba031a766f717a0b4f7d3b96b15f529a9fd
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/players/rpsls_lisa_player.erl
@@ -18,7 +18,5 @@ generate(3) -> scissors;
generate(4) -> lizard;
generate(_) -> spock.
Lisa = generate(random:uniform(8)).
-spec play(History::[{You::rpsls_player:choice(), Rival::rpsls_player:choice()}], State::term()) -> {rpsls_player:choice(), NewState::term()}.
play(_History, {}) -> {Lisa, {}}.
play(_History, {}) -> {generate(random:uniform(8)), {}}.

0 comments on commit f0090ba

Please sign in to comment.