Not sure if there's an ending or not. When I grabbed the dark potion with a skull on it at the end the game closed. Still, things felt pretty okay and looked good.
and why the game ended
I mean closed. There was no "you died" or "game over", so I can't tell if it's a crash or the intended behavior.
the player is win, no have time any complex outcome.