Open hseong42 opened 6 years ago
This is not as easy as it might seem at first glance. The current code will compare two hands (so for example, it will decide that a straight beats a pair). However, this gets more difficult with an arbitrary number of players. It should be a really fun problem though. I would suggest doing some research into how this is usually done. I'm sure there are a lot of good resources online to help.
W18 OK (200 pts)
Currently the CompareHands.java doesn't calculate the winner when two hands are the same (ie: pair vs pair) and instead declares it a tie or says the player wins. Also figure out how to make it consider players that have folded and not calculate their hand when determining the winning hand.