Thank you for your thoughts. This 'game' has been created in just a few hours as a personal experiment, and it'n not designed to be completely cross platform. However, I will edit the code, trying to get a more nice experience.
A major issue is that codepen doesn't automatically focus the frame of the game, and this causes the keyboard event to be missed.