Closed pkolano closed 2 years ago
I looked at that PR but decided not to follow up on it because it uses so much screen real estate, and would give an unfair advantage to players on desktop and tablet devices versus those on mobiles (yeas, I have a couple of those!). However it would be easy enough to add, and could be useful for those learning to play at competition level where tracking the remaining letters in the bag becomes an issue. The PR as given would not work with the current code, but the principle would be simple enough to apply. I'd want it to be optionally enabled by the game creator, and optionally displayed under user settings control. I'd be happy to entertain a PR.
I just (mea culpa) noticed that the letter distribution chart is printed on scrabble boards. So the distribution chart should be showable, for scrabble boards at least. My inclination is to do it as a dialog, though.
It's there in 2.1.2
Would be nice to have a letter distribution chart on the right. Don't know if it could be used given your changes to the code, but there was a pull request to the hanshuebner version that did this at https://github.com/hanshuebner/html-scrabble/pull/77. Thanks!