Jan Peters - Poker Hand Evaluation

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 4

  • @louie0187
    @louie0187 Год назад +1

    so for a holdem hand, which is 7 cards, do you just calculate the value for all possible 21 5-card hands and take the highest, which would represent the best possible hand?

  • @lohphat
    @lohphat 2 года назад

    The YT gods brought me here.
    I was thinking about what data structure would efficiently encode hands and ranks and I had just started. I was just going to use 4 bits per card value and total them to get counts to tally pairs, 3oaK and quads, then tally suits -- but it's obvious that just looking for 0001 or 0010 or 0100 or 1000 for a flush in the suit encoding is more elegant and obvious.
    Now I just have to do this to complete as I learn Python. I haven't done any development in 30 years and want to get back into it for my own sanity.

  • @dorex2007
    @dorex2007 3 года назад +2

    Hi. Is this software available ?
    Thanks!

  • @plowingpots
    @plowingpots 2 месяца назад

    How is this different than Cactus Kev's Poker Hand Evaluation? It looks identical except you move the positioning of the A. Should probably give credit to the original creator of it.