If the game doesn't recognize your key inputs on the web version, just refresh your browser and try to not click outside the game window while playing