News for hackers. Stuff that matters.
Re:Show HN: A simple Poker API to calculate the winning hand/s by markc on Monday July 06, 2020 @01:40AM (#23745043)
Here's an implementation in Clojure that scores hands and selects a winner. It handles low vs high ace in straights.

https://gist.github.com/mchampine/dca965226148dfd19d5e4d7f3d...

Most of it was done for a weekly Clojure programming challenge run by Eric Normand in his PurelyFunctional.tv newsletter. You can see all the entries at https://gist.github.com/ericnormand/fbc9b6386a66c1ece590930d...

There are no comments on this comment yet.