100 Programs for the BBC micro by John Gordon
100 Programs for the BBC micro by John Gordon
Hi,
Does anyone have the cassette that goes with this book?
I would like the handful of games from it.
If not, does anyone have the book itself? I will type the games in...
Lee.
Does anyone have the cassette that goes with this book?
I would like the handful of games from it.
If not, does anyone have the book itself? I will type the games in...
Lee.
- CMcDougall
- Posts: 7048
- Joined: Wed Feb 02, 2005 3:13 pm
- Location: Shadow in a Valley of Scotland
- Contact:
Re: 100 Programs for the BBC micro by John Gordon
do you use the search on this forum Lee
only 3 did not work :
viewtopic.php?f=32&t=12747&p=163888&hilit=100#p163888
only 3 did not work :
viewtopic.php?f=32&t=12747&p=163888&hilit=100#p163888
Re: 100 Programs for the BBC micro by John Gordon
Jeez
Cheers Col
Saves me a bit of typing...
I need a break seeing as I have just typed this lot in: http://www.bbcmicro.co.uk/index.php?rt_ ... =on&sort=u
Lee.
Cheers Col
Saves me a bit of typing...
I need a break seeing as I have just typed this lot in: http://www.bbcmicro.co.uk/index.php?rt_ ... =on&sort=u
Lee.
Re: 100 Programs for the BBC micro by John Gordon
Hi,
All the games programs have been collected....
Does anyone have a copy of the book who could take a couple of piccies of any pages of blurb that go with the games (programs 11-19 plus program 69).
Also, does it mention anywhere in the book the author of all these programs (assuming it isn't John Gordon?).
Lee.
All the games programs have been collected....
Does anyone have a copy of the book who could take a couple of piccies of any pages of blurb that go with the games (programs 11-19 plus program 69).
Also, does it mention anywhere in the book the author of all these programs (assuming it isn't John Gordon?).
Lee.
-
- Posts: 2613
- Joined: Sat Apr 03, 2010 1:54 pm
- Location: Nottingham
- Contact:
Re: 100 Programs for the BBC micro by John Gordon
I second that.
There are a few reasonable games on the tape and it would be nice to put them on disc with any instructions that were in the book (if any).
Mick.
There are a few reasonable games on the tape and it would be nice to put them on disc with any instructions that were in the book (if any).
Mick.
Re: 100 Programs for the BBC micro by John Gordon
There is an introduction program which I expect is on the cassette. This says Jayne helped with the games. No surname.
There are 9 games, P11-P19
Edit: The book is in a monospace font. I am going to type in the instructions then check them. Wait till I say I have checked them before using please!
Last edited by pau1ie on Sun Sep 29, 2019 8:33 pm, edited 2 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P11 Mastermind
This program implements the first version of the popular game by INVICTA, Ltd.
The object of the game is to determine the colour of the four squares on the screen, the user has up to twenty attempts at working out the code.
When you enter an attempt, the computer responds by indicating whether you have a coloured square in the correct position, or whether you have a correctly coloured square, but it is in the wrong position.
For each correct square in the correct position, the computer places a magenta dash to the right of the guess.
For each correct square in the wrong position the computer places a cyan (light blue) dash to the right of the guess.
COMMANDS
Key in program and type RUN.
Enter guess as e.g.RGYB.
This program implements the first version of the popular game by INVICTA, Ltd.
The object of the game is to determine the colour of the four squares on the screen, the user has up to twenty attempts at working out the code.
When you enter an attempt, the computer responds by indicating whether you have a coloured square in the correct position, or whether you have a correctly coloured square, but it is in the wrong position.
For each correct square in the correct position, the computer places a magenta dash to the right of the guess.
For each correct square in the wrong position the computer places a cyan (light blue) dash to the right of the guess.
COMMANDS
Key in program and type RUN.
Enter guess as e.g.RGYB.
Last edited by pau1ie on Sat Sep 28, 2019 6:10 pm, edited 3 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P12 Guess the Number
In this simple game the user has to try to outguess the computer. The computer selects a random whole number between 1 and 100, and the user has to find it out.
The instructions for this program are included within the code.
COMMANDS
Key in program and type RUN.
Follow instructions.
In this simple game the user has to try to outguess the computer. The computer selects a random whole number between 1 and 100, and the user has to find it out.
The instructions for this program are included within the code.
COMMANDS
Key in program and type RUN.
Follow instructions.
Last edited by pau1ie on Sat Sep 28, 2019 6:10 pm, edited 2 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P13 Reaction Test
This program could help your keyboard skills. The computer places a random character on the screen and starts to time your response.
The object of the game is to press the required key as fast as possible.
When the program is complete an average reaction time is displayed on the screen.
COMMANDS
Key in the program and type RUN.
This program could help your keyboard skills. The computer places a random character on the screen and starts to time your response.
The object of the game is to press the required key as fast as possible.
When the program is complete an average reaction time is displayed on the screen.
COMMANDS
Key in the program and type RUN.
Last edited by pau1ie on Sat Sep 28, 2019 6:11 pm, edited 1 time in total.
Re: 100 Programs for the BBC micro by John Gordon
P14 Gobble
In this program we show the effects of simple graphics.
We have two beasties eating up a field of grass. This is a two-player game, with each player taking the part of one of the beasties.
If a player leaves the field or attempts to eat a patch of grass which has already been eaten, he dies.
Every time a piece is eaten points are scored.
COMMANDS
Key in program and type RUN.
Use keys as described above.
[There is a screenshot at the end of the code listing]
In this program we show the effects of simple graphics.
We have two beasties eating up a field of grass. This is a two-player game, with each player taking the part of one of the beasties.
Code: Select all
W
Player 1 uses keys A S
Z
@
Player 2 uses keys ; :
/
Player 1 moves up and down using keys W and Z
moves left and right using A and S.
Player 2 moves up and down using keys @ and /
moves left and right using ; and :.
Every time a piece is eaten points are scored.
COMMANDS
Key in program and type RUN.
Use keys as described above.
[There is a screenshot at the end of the code listing]
Last edited by pau1ie on Sun Sep 29, 2019 8:38 pm, edited 4 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P15 Tennis
This is an adaption of an old video game. We have two players playing tennis on a green pitch.
Player 1 uses keys Z and X to move his bat up and down.
Player 2 uses keys . and / to move his bat up and down.
The score is displayed at the top of the screen. There are a total of fifty balls available in the game, rather more than in the old video games.
This is an interesting program in that no graphics are used. The movements are accomplished by print statements.
Try using *FX11 and *FX12 commands to improve the program.
COMMANDS
Key in program and type RUN.
This is an adaption of an old video game. We have two players playing tennis on a green pitch.
Player 1 uses keys Z and X to move his bat up and down.
Player 2 uses keys . and / to move his bat up and down.
The score is displayed at the top of the screen. There are a total of fifty balls available in the game, rather more than in the old video games.
This is an interesting program in that no graphics are used. The movements are accomplished by print statements.
Try using *FX11 and *FX12 commands to improve the program.
COMMANDS
Key in program and type RUN.
Code: Select all
Player 1 uses Z for up,
X for down.
Player 2 uses / for up,
. for down.
Last edited by pau1ie on Sat Sep 28, 2019 6:15 pm, edited 1 time in total.
Re: 100 Programs for the BBC micro by John Gordon
P16 Bombs
In this program, the user has to defend his city against attacks from the sky.
The game is played purely in text, with many user defined characters. The city is built up in lines 230 to 360.
The user has control of a laser gun which can be used to knock out bombs which appear at random at the top of the screen.
To control the gun, we use the edit keys (hence the use of *FX4,1) to move horizontally and <COPY> to fire the gun.
The game finishes when the city is destroyed, which can take some time!
If you find the COPY key too awkward to use then change line 480 to look for the space bar, thus:
If you find the edit keys no longer work after playing this game, then use *FX4,0 to fix it.
COMMANDS
Key in program and type RUN.
Use cursor control keys to move gun.
Press <COPY> key to fire.
[At the bottom of the page is a screenshot]
In this program, the user has to defend his city against attacks from the sky.
The game is played purely in text, with many user defined characters. The city is built up in lines 230 to 360.
The user has control of a laser gun which can be used to knock out bombs which appear at random at the top of the screen.
To control the gun, we use the edit keys (hence the use of *FX4,1) to move horizontally and <COPY> to fire the gun.
The game finishes when the city is destroyed, which can take some time!
If you find the COPY key too awkward to use then change line 480 to look for the space bar, thus:
Code: Select all
480 IF K=32 AND FLAG=0 THEN PROCfire
COMMANDS
Key in program and type RUN.
Use cursor control keys to move gun.
Press <COPY> key to fire.
[At the bottom of the page is a screenshot]
Last edited by pau1ie on Sat Sep 28, 2019 6:19 pm, edited 2 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P17 Bat'n'Moths______________________________________MODEL B ONLY
This was my first game on the BEEB. The game developed from an idea of my wife's, who designed the various characters used in the game.
The object of the game is to control a bat to attempt to eat a set of moths which flit about on the screen.
This can be a fairly difficult game, so there is a parameter 'D' which is used to slow down the moths. D can hold any value between 0 and 5, 4 being difficult.
As in P16, we use the cursor control key to move the bat and COPY to gobble the moths. All four cursor keys are used to move the bat.
COMMAND
Key in program and type RUN.
Use cursor control keys to move bat.
Press <COPY> key to eat moth.
[There is a screenshot at the bottom of the page]
This was my first game on the BEEB. The game developed from an idea of my wife's, who designed the various characters used in the game.
The object of the game is to control a bat to attempt to eat a set of moths which flit about on the screen.
This can be a fairly difficult game, so there is a parameter 'D' which is used to slow down the moths. D can hold any value between 0 and 5, 4 being difficult.
As in P16, we use the cursor control key to move the bat and COPY to gobble the moths. All four cursor keys are used to move the bat.
COMMAND
Key in program and type RUN.
Use cursor control keys to move bat.
Press <COPY> key to eat moth.
[There is a screenshot at the bottom of the page]
Last edited by pau1ie on Sat Sep 28, 2019 6:21 pm, edited 1 time in total.
Re: 100 Programs for the BBC micro by John Gordon
[My copy has a handwritten note: *See addendum* Next to contents page. I assume the corrections are already in the cassette]
P18 Monster Island____________________________MODEL B ONLY
In this program you have landed on a volcanic island and are being pursued by voracious monsters.
Your only hope is to lead the monsters into the volcanic pits, over which you can jump. The monsters always move in your direction, so with thought you should survive.
Your position on the island is shown by a small man shaped character. Use keys Z and X to move the man horizontally, / and : to move vertically.
The monsters do not notice you until you move.
Change lines 550 through 600 to improve the response of the game if you win.
COMMANDS
Key in program and type RUN.
Use Z X / : to move man.
[There is a screenshot at the end of the code listing]
P18 Monster Island____________________________MODEL B ONLY
In this program you have landed on a volcanic island and are being pursued by voracious monsters.
Your only hope is to lead the monsters into the volcanic pits, over which you can jump. The monsters always move in your direction, so with thought you should survive.
Your position on the island is shown by a small man shaped character. Use keys Z and X to move the man horizontally, / and : to move vertically.
The monsters do not notice you until you move.
Change lines 550 through 600 to improve the response of the game if you win.
COMMANDS
Key in program and type RUN.
Use Z X / : to move man.
[There is a screenshot at the end of the code listing]
Last edited by pau1ie on Sat Sep 28, 2019 6:24 pm, edited 2 times in total.
Re: 100 Programs for the BBC micro by John Gordon
P19 Battleships _____________________________________ Model B only
This is an implementation of the old schoolboy game of battleships. The game is played in mode 5 using a mixture of graphics and defined characters.
The game opens by displaying a map of an area of sea in which an enemy fleet is deployed. The fleet consists of four battleships, eight cruisers and sixteen destroyers.
The map is displayed as a 26 by 18 square grid. A battleship occupies three contiguous grid locations, a cruiser two locations, and a destroyer one location.
Thus out of a possible 486 squares, 44 (or approximately 10%) are occupied by enemy ships.
The positions of the enemy fleet are displayed on the screen when the computer allocates each ships position, but, when the whole fleet had been placed, the computer hides the fleet. You therefore have a few seconds in which to memorise the fleet positions.
Once the board is set up, the computer prompts you to enter a grid reference. If the position is occupied by a ship:
_____a red flash is printed on the screen
_____a hit noise is generated
_____a hit score is allocated
If the position is not occupied by a ship:
_____a white flash is painted on the screen
_____a miss noise is generated
_____a miss score is allocated
At the end of the game a score is given. I have yet to get a positive score.
To improve the game, make the ships larger; this would give the player a better chance of achieving a good score.
COMMANDS
Key in program and type RUN.
Watch the screen carefully, then follow instructions.
[There is a screenshot at the end of the code listing]
This is an implementation of the old schoolboy game of battleships. The game is played in mode 5 using a mixture of graphics and defined characters.
The game opens by displaying a map of an area of sea in which an enemy fleet is deployed. The fleet consists of four battleships, eight cruisers and sixteen destroyers.
The map is displayed as a 26 by 18 square grid. A battleship occupies three contiguous grid locations, a cruiser two locations, and a destroyer one location.
Thus out of a possible 486 squares, 44 (or approximately 10%) are occupied by enemy ships.
The positions of the enemy fleet are displayed on the screen when the computer allocates each ships position, but, when the whole fleet had been placed, the computer hides the fleet. You therefore have a few seconds in which to memorise the fleet positions.
Once the board is set up, the computer prompts you to enter a grid reference. If the position is occupied by a ship:
_____a red flash is printed on the screen
_____a hit noise is generated
_____a hit score is allocated
If the position is not occupied by a ship:
_____a white flash is painted on the screen
_____a miss noise is generated
_____a miss score is allocated
At the end of the game a score is given. I have yet to get a positive score.
To improve the game, make the ships larger; this would give the player a better chance of achieving a good score.
COMMANDS
Key in program and type RUN.
Watch the screen carefully, then follow instructions.
[There is a screenshot at the end of the code listing]
Last edited by pau1ie on Sat Sep 28, 2019 6:28 pm, edited 2 times in total.
Re: 100 Programs for the BBC micro by John Gordon
As I say the book has a monospace font, so I have used the code tag where this is important. I have used underscores in lieu of spaces.
I will check these over the weekend.
First check complete, fixed a few errors. I will give them another once over.
I will check these over the weekend.
First check complete, fixed a few errors. I will give them another once over.
Last edited by pau1ie on Sat Sep 28, 2019 6:37 pm, edited 1 time in total.
Re: 100 Programs for the BBC micro by John Gordon
Cheers Paul
Lee
Lee
-
- Posts: 2613
- Joined: Sat Apr 03, 2010 1:54 pm
- Location: Nottingham
- Contact:
Re: 100 Programs for the BBC micro by John Gordon
Thank you
Mick.
Mick.
Re: 100 Programs for the BBC micro by John Gordon
OK I've checked it a second time and only found a couple of errors, so I'm happy it is good now. Feel free to use the text now!
Re: 100 Programs for the BBC micro by John Gordon
Excellent.
Thanks Paul.
Lee.
Oh! By the way, could you confirm the publisher, and original year of release please.
Thanks Paul.
Lee.
Oh! By the way, could you confirm the publisher, and original year of release please.
Re: 100 Programs for the BBC micro by John Gordon
Publisher is Prentice-Hall International in association with Acornsoft. Copyright 1983 (So I expect this is the publication year as well) John Gordon. He was born in 1952. I attach a copy of the cover.
Last edited by pau1ie on Sun Sep 29, 2019 11:32 pm, edited 1 time in total.
- CMcDougall
- Posts: 7048
- Joined: Wed Feb 02, 2005 3:13 pm
- Location: Shadow in a Valley of Scotland
- Contact:
Re: 100 Programs for the BBC micro by John Gordon
/\ that agrees with my pics of the actual tape