Skip to content

Commit

Permalink
Implemented RandomPlayer#cardsToDiscard
Browse files Browse the repository at this point in the history
  • Loading branch information
bspaulding committed Dec 23, 2014
1 parent 71e0f4c commit 38aa51b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/random-player.js
Expand Up @@ -20,5 +20,9 @@ var RandomPlayer = (function(_super) {
return this.cards[0];
}

RandomPlayer.prototype.cardsToDiscard = function() {
return this.cards.slice(6);
}

return RandomPlayer;
}(Player));

0 comments on commit 38aa51b

Please sign in to comment.