Permalink
Browse files

also return raw value for comparison

  • Loading branch information...
1 parent 3645857 commit 962bfd7c90455ad0ca1223a5d74d517c8259b142 @chenosaurus committed Sep 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/PokerEvaluator.js
View
@@ -108,6 +108,7 @@ PokerEvaluator.prototype.eval = function(cards) {
return {
handType: res >> 12,
handRank: res & 0x00000fff,
+ value: res,
handName: HANDTYPES[res >> 12]
}
};

0 comments on commit 962bfd7

Please sign in to comment.