How to implement a repeatable random number generator?
You can make a random number generator repeatable by setting it’s seed. At the start of a game (on the initial turn) you should generate a seed randomly and save it. To allow loading to an arbitrary turn you should initialise the random number generator seed at the start of each turn as a function of the game seed and the turn.