It sounds kind of crazy now but we genuinely used to buy computer magazines that had basic code printed in them, to try the game you would type the basic into a file, save and then run it.