rafanoronha / scala-poker

Having fun while coding a brand new open source scala poker library
MIT License
21 stars 12 forks source link

should identify which cards match a given hand #14

Closed rafanoronha closed 11 years ago

rafanoronha commented 11 years ago

Hand always consists of five cards. In games where more than five cards are available to each player, the best five-card combination of those cards must be played.

Variations of Flush & Straight should match 5 cards. Full house also. Four of a kind should match 4 cards. Two pair also. Three of a kind should match 3 cards. One pair should match 2 cards. High card shouldn't match any card.