There is 2 ways to beat the game. As a warrior we don't have to other chance to walk around in the "labrinth" and collect the money on the ground. But as a mage, we can find the king and fight him. Unfortunatelly a (or more) bug in the game don't allow to find this ending. What we can do according to win to double (or triple) the number of time of days, and mend the function which can lead us to the king. Maybe I am the most played person of this game, while playing, I have continuously rewritten the code, and finally get the maximum out of this buggy game.