ZZZ is 10 points not 30 (Letter distribution problem)
lheyman opened this issue · comments
The scoring algorithm should compensate for the Scrabble letter distribution
which only has one Z and K, therefore the only way to spell the words with multiple Z's or K's is with a blank tile-- or in the case of ZZZ, two blanks, which ends up as 10 points, not 30.
I was just having this discussion with a friend! Will definitely fix this as soon as I can!
okay this should be fixed now, checkout https://github.com/willkurt/letter_orders/blob/master/scrabble.r for the solution plus some simple test cases. Also: 'bijoux' is now the highest scoring word with letters in alphabetical order!