I'm building a Texas-Hold'em computer program and I need to determine which hand is a winner.
Can I find a sorted list of all hands stored as a single file online?
Hand, Rank AH KH QH JH TH, 1 AD KD QD JD TD, 1 AC KC QC JC TC, 1 AS KS QS JS TS, 1 KH QH JH TH 9H, 2 ...
In this example text file, all 4 royal flushes have the highest rank 1, then the next 4 best straight flushes will have a rank 2, and so on. If I have this file, writing a function to determine a winner becomes trivial. But I can't find such (or similar) file online.