Added some quality of life features
All checks were successful
/ publish (push) Successful in 1m25s

- Now preload the letters on successive rows
- Hid the keyboard during intermissions
- Added a give-up easter egg when tapping the enter six times
- Reshuffled the letters
This commit is contained in:
Leon Mika 2025-10-30 21:50:58 +11:00
parent 566f55ed12
commit a2211030a0
6 changed files with 478 additions and 400 deletions

View file

@ -30,10 +30,13 @@
</div>
<div class="keyboard" data-controller="keyboard"
data-keyboard-playfield-outlet=".playfield"
style="display: none;"
data-action="
keydown@window->keyboard#onKeyPress
guessResults@window->keyboard#colorizeKeys
resetKeyColors@window->keyboard#resetKeyColors
showKeyboard@window->keyboard#onShow
hideKeyboard@window->keyboard#onHide
">
<div>
<button data-keyboard-target="key" data-action="keyboard#tappedKey" data-key="q">q</button>