You are actually getting hit, though the projectiles are invisible and it’s square bounding boxes (i.e. very cruel collision detection) IIRC, you can’t last longer than about 10 seconds.
It was made in a few hours. I have often thought about making a full game with it that is excruciatingly difficult but theoretically winnable.