Thank you for playing and good job on beating the game!
Yes, there is currently a bug with beating the game. When you die in any level the game doesn't trigger the end for that level. I'm not sure why it happens, but that's the first thing we try to fix.
One player of my game said that it crashed after they shot at the enemy. I tried to break it so many times and it didn't happen. Now I am pulling my hair trying to figure out what the specific steps I need to follow to break my game so that I can fix it!