Poker hand analyser: Difference between revisions
Content deleted Content added
m →{{header|Lua}}: tidying |
m →{{header|Lua}}: slightly more efficient |
||
Line 657:
local n3, n2 = twoTypes(valCount)
if n3 == 1 and n2 == 1 then return "full-house" end
if
if
if highCount == 3 then return "three-of-a-kind" end
if n3 == 0 and n2 == 2 then return "two-pair" end
|