Basically game developers when using Seeds, they use Hashes generators.
Hashes Generators: Generate the same sequence of characters based on a short word.
With the generated hashes they can generate other threaded hashes that will define other points of the game equal to the seed
For the generation of maps and reliefs, the algorithm that I saw the most was Perlin noise , which also generates the same relief based on a seed and this was also the algorithm originally used in maps by creator of Minecraft.
How to create a hash generator?
At first it is relatively simple, since it must always generate the same result based on the same input value, it can be a simple mathematical function.
For example, a hash logic using numeric seeds could be:
seed = (seed x 31337) + 123
Example Hash Algoritmn (English)