genghisjahn / pokerbrain

2 stars 0 forks source link

Poker API for cards/hands #17

Open genghisjahn opened 8 years ago

genghisjahn commented 8 years ago
  1. method for hand classification and score
    1. Supply 5 cards, get back the type of hand and the score.
  2. post an array of 5 card hands
    1. Get them back sorted with type and score
  3. Post array of pocket cards(with playerID) and community cards
    1. Get back sorted list, by best pocket cards (with playerID) for the supplied community cards.

Split this into it's own issues.

genghisjahn commented 8 years ago

1 is mostly done. I return the cards that were submitted, but the suit renders wrong. Maybe this can be fixed or maybe should revert to "c,d,s,h".