Back in 1986 I coded a game for the ZX Spectrum that was published in Popular Computing Weekly. Remember that magazine, where you could type in Basic programs and perhaps get them to work?
In this thread I’ll be working on converting this to BBC Basic as part of my relearning of this language.
For anyone else that may have published their BASIC programs during that time, there’s two useful archives here:-
1. Index for Spectrum/QL typed in scripts : http://www.users.globalnet.co.uk/~jg27p … _names.htm
2. This archive is from the “World of Spectrum” but the mag covers all scripts from different machines of the time. https://worldofspectrum.org/archive/mag … ing-weekly
Here’s the original mag and published page:-


I’ve been using the excellent Owlet editor on my Mac (I can type faster on a modern keyboard) and my first question is on the use of RND, which is very much prevalent in the code above which I’ll need in the BBC script.
I’ve noticed in Owlet that when using RND(X) it ends up giving you theĀ same number each time, unless you have some code asking for input at the beginning (providing a random time spanned event at the start).
Here’s my finished script which ends up being better than the 1986 version.
Use this link to see and run the BBC Basic script.