by foota · 8y ago · 0 comments
For those curious the rough differences (in game - in english, out of 100) are:
e: -4.7 t: -2.5 c: 2.4 h: -2.3 p: 2.3 u: 1.9 b: 1.6 m: 1.6 l: 1.5 g: 1.4 r: 1.4 k: 1 x: 1 z: 0.8 o: -0.7 n: -0.6 f: 0.5 j: 0.5 v: 0.5 y: 0.5 d: 0.4 a: -0.3 q: 0.2 s: -0.2 w: 0.2 i: 0.1
edit: this might go too far towards making it easy, but you could also try and group common pairs of letter near each other.
https://github.com/AbhishekCode/word-tetris/blob/master/src/...
I guess my implementation is still not perfect. I looking for ways to improved this. Thanks for pointing this out.
It would also be neat to score words with less common letters higher like scrabble, or map your dictionary to a distribution in an English language corpus and score them based on rarity.