One of the really first games allowing this was Nether Earth on the ZX Spectrum in 1987:
https://en.wikipedia.org/wiki/Nether_Earth
http:...