Hey, thanks for playing the game, I really didn't know how to do timed events so that is the reason why you could win the whole game by pressing spacebar, I really should learn about timed animations so that I can make a good game!
:D what are you programming it in?
Pure WebGL, I'm really interested in OpenGL and Vulkan, since it should be playable to anyone I made it with WebGL from my lwjgl knowledge!