Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
3 shots solution in Creative category for Texas Referee by DiZ
from itertools import*;texas_referee=lambda d,R="dcsAKQJT98765432":max(map(','
.join,combinations(sorted(d.split(','),key=lambda c:list(map(R.find,c))),5)),
key=lambda c:sum(map(d.count,c[::3]))+7*(c[::3]in R)+8*(len(set(c[1::3]))<2))
April 13, 2015
Comments: