A fantasy text adventure from 1977 that almost nobody had played is available again. Magic Caves, written by physicist John Burgess Trenholme, has been recovered and documented by game historian Jason Dyer, who has posted the original BASIC source and a Windows version on his blog Renga in Blue.
The game’s age is not a guess. The first line of its source code reads “COPYRIGHT 1977 JOHN B. TRENHOLME,” which puts it in the same year as Crowther and Woods’ Adventure and the first version of Zork. Dyer says the file was unearthed by enthusiast gschmidl, who downloaded it back in 1999 and had it sitting among his old files, with no indication of what computer it was written for.
Working that out took some detective work. Commands in the code, such as a PRECISION setting for decimal accuracy, point to Business Basic on the Basic Four, a minicomputer line from MAI aimed at accountants rather than hobbyists. Dyer’s post traces that company back to two Costa Rican engineers, Jorge González Martén and Walter Oreamuno, who built a business leasing IBM equipment before moving into minicomputers.
Trenholme was not a game developer. He earned a doctorate at Caltech, spent a year helping set up a low-temperature laboratory at the Indian Institute of Technology in Kanpur, and joined Lawrence Livermore National Laboratory in 1972, where he produced more than 60 research papers, mainly on lasers. He died in 2020.
Magic Caves opens with an old man in a forest warning you about caverns full of treasure and danger. You start with a lamp at the entrance pit, and the rest of the map is randomly generated from a seed you choose, with difficulty set anywhere from 0 to 100. The top score is 2,800. Treasures earn points, but killing the monsters scattered through the caves is worth more, and each one has weapons that work better against it, from an axe and a sword to a toad and a magic wand. Type help and a tall wizard will whisk you back to the start, for 100 points.
Dyer argues the game borrows from both Adventure and the People’s Computer Company games Hunt the Wumpus and Caves, calling it as close to a “missing link” as he has seen. Kotaku picked up the find this weekend. Dyer notes that some bugs, possibly from a bad data transfer, have been fixed in his version, but any typos are authentic.
It is the latest small win for game preservation, alongside bigger efforts like the GOG restorations of classic PC games.



