Live data from Hacker News

Show HN: A simple Poker API to calculate the winning hand/s

pokerapi.dev

1–10 of 45 posts

Re: Show HN: A simple Poker API to calculate the winning hand/s

#2
What are you using under the hood?

I’ve been using poker-eval for a few projects but it seems its now abandonware, with few updates out there.

I’m tempted to port it to Go and/or Rust to keep it alive, but I’m interested in what else people are using out there for poker hand evaluation.

Re: Show HN: A simple Poker API to calculate the winning hand/s

#4

What are you using under the hood? I’ve been using poker-eval for a few projects but it seems its now abandonware, with few updates out there. I’m tempted to port it to Go and/or Rust to keep it alive, but I’m interested in what else people are using out there for poker hand evaluation.

Im using a two plus two hand evaluator i found in Java. Curious as well couldn’t find good open source ones

Re: Show HN: A simple Poker API to calculate the winning hand/s

#5

What are you using under the hood? I’ve been using poker-eval for a few projects but it seems its now abandonware, with few updates out there. I’m tempted to port it to Go and/or Rust to keep it alive, but I’m interested in what else people are using out there for poker hand evaluation.

This is actually a side-project of a side-project, so I wanted to have a go at building the algo myself for a bit of fun/learning. I’m using Ruby under the hood...

Re: Show HN: A simple Poker API to calculate the winning hand/s

#6

What are you using under the hood? I’ve been using poker-eval for a few projects but it seems its now abandonware, with few updates out there. I’m tempted to port it to Go and/or Rust to keep it alive, but I’m interested in what else people are using out there for poker hand evaluation.

If you don't need everything that's going on in poker-eval, you should be able to roll your own two dozen lines of Python.

A poker hand evaluator is problem #54 at Project Euler. [0] Peter Norvig has a solution there (which you can view after you submit your own correct solution) that taught me a lot about Python-style and how it differs from C++ (which was my mindset at the time).

[0] https://projecteuler.net/problem=54

Re: Show HN: A simple Poker API to calculate the winning hand/s

#8

What are you using under the hood? I’ve been using poker-eval for a few projects but it seems its now abandonware, with few updates out there. I’m tempted to port it to Go and/or Rust to keep it alive, but I’m interested in what else people are using out there for poker hand evaluation.

It's not apparent to me which part of evaluating poker hands would need to be updated over time... Just rebuilding for new framework versions?

Re: Show HN: A simple Poker API to calculate the winning hand/s

#10
post #3

Calculating odds would be more interesting

That’s relatively straight forward by calculating the entire game tree for pretty much any street after the flop (52-7)*(52-8) combos.

The flop requires slightly more power to execute, but many tools do this in a small amount of time so I guess it’s feasible.

Post reply on HN