HighDiceRoller/icepool

`all_straights`

HighDiceRoller opened this issue · 2 comments

Need to determine whether the obvious algorithm (keep track of count straights, end the shortest when necessary) works.

Should the results be in descending order?

Switched to descending sizes; this plays better with lexicographic ordering of tuples. E.g. previously

(1, 5) < (2, 2, 2)

but now

(5, 1) > (2, 2, 2)