Combinatorics – Counting dice combinations using JavaScript | Dark Hacker News