2 ms·
Which is why you restrict it by A) the list of known keys (the values are already in an array in the same file), and if you're feeling nice B) after clicking in
by Groxx 15y ago
Which is why you restrict it by A) the list of known keys (the values are already in an array in the same file), and if you're feeling nice B) after clicking inside the container the game lives in.
All of which is mind-numbingly easy, but far below 50% of "HTML5" games I've played have done so.