Hacker News new | ask | show | jobs
by ChicagoDave 2173 days ago
I have an algorithm in C# that converts hands to numerical values from 0.highcard, 1.pair, 2.twopair, 3.trips ... to 9 (royal flush). From there it can compare the hands and determine the winner(s).