The game does have an ending screen once you leave the cave, but sometimes the game crashes on the export version when getting to it. Might fix this bug after the end of the jam.
The ending screen just shows how much gold you got btw so it's not like you miss on anything