Neat AI does Cactus Kevs Poker Hand Evaluator Complete

Поділитися
Вставка
  • Опубліковано 15 тра 2021
  • This is the complete Cactus Kevs Poker Hand Evaluator.
    Any poker simulator, website or poker bot needs to be able to rapidly evaluate and compare poker hands. Cactus Kev wrote one just for fun and it beat all others available at the time.
    Its real easy to code up and fun to play with..
    Poker Hand table available here suffe.cool/poker/7462.html

КОМЕНТАРІ • 18

  • @kilianwaltl410
    @kilianwaltl410 2 роки тому +7

    Please either Upload the full video in the first place, make the second part start where the first one ends or at least use chapters or a link to skip the first part 🙏
    Otherwise great video dude, I've barely seen someone produce such high quality videos, while still being relatively small, so continue on, you earned another sub! 😁

  • @user-wv1in4pz2w
    @user-wv1in4pz2w 2 роки тому +5

    with the final implementation, can't you skip step 2? if my understanding is correct, a lookup table based on the multiplication of the primes could contain all the high card/straight options as well.
    also, if we already established that big arrays are ok, why not just do it in a more straight forward way: just take the 4 bits that represent the value of each card and concatenate those 5 numbers, this gives you 20 bits that represent any combination (without suits). while it means that we'll have many repetitions in the array, since it's not order-independent, the resulting array length is only 1048576, which is way less than the 100 million proposed in the video.

    • @brettonjohansen1619
      @brettonjohansen1619 Рік тому +1

      I think step two is a lot faster if it does return true, so it saves time in the long run by skipping step 3 for the cases that don't need it.

  • @somdudewillson
    @somdudewillson 2 роки тому +3

    Why not mention the later improvement by Paul Senzee?

  • @Free-pp8mr
    @Free-pp8mr 4 місяці тому

    Good idea to cut number of strategies observing to easy managed number! Even simple RL algorithms will work with such methods! Very well done!

  • @CaptinIdgit
    @CaptinIdgit 2 роки тому +1

    What is the purpose of including the 4 bit rank encoding? Unless I missed something it is never used. The rank flags are used for flushes, and 5 unique cards, and the primes are used for all other cases.

  • @looper6394
    @looper6394 3 місяці тому

    Do you know the hand evaluator which is based on a one big look-up table and which you have to evaluate five times in a row to get the final handrank? I've been wondering how such a lookup table is generated ever since I first heard about it. What optimization is it based on or is it just a pure brute force approach?

  • @Pokefanof2009
    @Pokefanof2009 2 роки тому +3

    6:12 timestamp for people who just finished your "Neat AI does Cactus Kevs Poker Hand Evaluator Part 1" and want to skip straight to the next section as this covers both

    • @neatai6702
      @neatai6702  2 роки тому +2

      ??

    • @Kraus-
      @Kraus- 2 роки тому

      Do you have a flush?

    • @NinjarioPicmin
      @NinjarioPicmin 2 роки тому +2

      thank you

    • @Pokefanof2009
      @Pokefanof2009 2 роки тому +1

      @@neatai6702 sorry, it was a timestamp for people who just finished your "Neat AI does Cactus Kevs Poker Hand Evaluator Part 1" and want to skip straight to the next section as this covers both

  • @PunmasterSTP
    @PunmasterSTP Рік тому

    This was a great video! I really have to...hand it to you.
    😎

    • @neatai6702
      @neatai6702  Рік тому +1

      Thanks for all your feedback ! more videos coming soon...

    • @PunmasterSTP
      @PunmasterSTP Рік тому

      @@neatai6702 You’re most welcome, though I’d tend to categorize my comments more as “puns” than “feedback”! 😎

  • @danielyuan9862
    @danielyuan9862 2 роки тому +3

    Great video, the only thing that's false is that in the end, I'm interested in seeing you make a poker AI, but I don't know what to do.