Oh! yes! You need to fix this: there's a high probability that the game is impossible because you generate starts where the only actions require gold. Which is completely unplayable. You need to change your startup routine so that it always (randomly) includes AT LEAST ONE action that doesn't cost gold to use.