ucsb-cs56-projects / cs56-pokergame

-
0 stars 3 forks source link

Simplify Comparison Code #9

Closed samuelechu closed 8 years ago

samuelechu commented 8 years ago

Simplifying the hand comparison code with provided Collections methods like Collections.frequency() would result in fewer errors when comparing hands

samuelechu commented 8 years ago

bd846c0d7ebfd225c24ac0891012d580a6d3e3db

modified:

isFourOfAKind(), isFullHouse(), isThreeOfAKind(), isTwoPair(), isOnePair(), sameHand(Hand otherHand)

shumarvin commented 8 years ago

estimate: 100pts

mbahia commented 8 years ago

approved M.B.