Use a seed to handle your level generation - then all you need to replicate is a single integer value that you can break apart and get all the information you require.
Use a seed to handle your level generation - then all you need to replicate is a single integer value that you can break apart and get all the information you require.