]> git.cworth.org Git - lmno.games/commit
anagram: Add a guard against the same letter getting taken twice
authorCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 03:10:05 +0000 (23:10 -0400)
committerCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 03:10:05 +0000 (23:10 -0400)
commitfdf1af582e270e3071941287e83ad9ad01f9d4e7
tree60d4d127b23f094921c3b302695fc240d0eb5bb8
parent97eaf1e5e1f870c4839d9d9f5b68b234e2f5a591
anagram: Add a guard against the same letter getting taken twice

This is effectively debouncing taps (or keypresses) of letters being
taken from the center of the play field and put into the rack. If the
same letter tile is taken multiple times then a player can end up with
"ghost" tile in the rack that never goes away but also can't be
interacted with.
anagrams/anagrams.jsx