Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale down letterFrequencies for fewer tiles. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jfx2006
Copy link

@jfx2006 jfx2006 commented Jul 11, 2022

Using a pool of 144 letters can lead to a mix of pulled letters that has an odd mix.
For example, since there could always be 3 "V"s in the bag, a short game drawing 36
tiles could draw all 3. Arguably, for a 36 tile game, there should only be one V.

calculateFrequencies() isn't perfect as the new frequencies are calculated by division
and floats get messy. For a 36 tile game, 46 tiles wind up in the bag.

Using a pool of 144 letters can lead to a mix of pulled letters that has an odd mix.
For example, since there could always be 3 "V"s in the bag, a short game drawing 36
tiles could draw all 3. Arguably, for a 36 tile game, there should only be one V.

calculateFrequencies() isn't perfect as the new frequencies are calculated by division
and floats get messy. For a 36 tile game, 46 tiles wind up in the bag.
@jfx2006
Copy link
Author

jfx2006 commented Jul 11, 2022

Thanks for this game! I find the mix of pulled letters can be quite irritating sometimes. This should level the playing field a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant