chenosaurus / poker-evaluator

poker hand evaluator
248 stars 58 forks source link

Evaluating 6 cards hands #7

Closed Grigore147 closed 10 years ago

Grigore147 commented 10 years ago

Hi @chenosaurus

Just want to let you know that looks like this evaluator also works with 6 cards hands. Line 104 should be:

  if (cards.length===5 || cards.length===6)

Happy New Year!

chenosaurus commented 10 years ago

Ah yes, good catch!

On Tuesday, January 7, 2014, Grigore Dutcovici wrote:

Hi @chenosaurus https://github.com/chenosaurus

Just want to let you know that looks like this evaluator also supports with 6 cards hands. Line 104https://github.com/chenosaurus/poker-evaluator/blob/master/lib/PokerEvaluator.js#L104should be:

if (cards.length===5 || cards.length===6)

Happy New Year!

— Reply to this email directly or view it on GitHubhttps://github.com/chenosaurus/poker-evaluator/issues/7 .