Page 1 of 1

100 Programs for the BBC micro by John Gordon

Posted: Tue Sep 24, 2019 8:10 pm
by leenew
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Tue Sep 24, 2019 9:36 pm
by CMcDougall
do you use the search on this forum Lee :-k :lol:

only 3 did not work :
viewtopic.php?f=32&t=12747&p=163888&hilit=100#p163888
8)

Re: 100 Programs for the BBC micro by John Gordon

Posted: Tue Sep 24, 2019 10:47 pm
by leenew
Jeez #-o
Cheers Col :wink:

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

:lol:

Lee.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Wed Sep 25, 2019 9:03 am
by leenew
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 5:17 pm
by Michael Brown
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 8:44 pm
by pau1ie
leenew wrote:
Wed Sep 25, 2019 9:03 am
Does anyone have a copy of the book
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!

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 8:51 pm
by pau1ie
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 8:58 pm
by pau1ie
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 9:04 pm
by pau1ie
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 9:27 pm
by pau1ie
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.

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 :.
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]

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 9:39 pm
by pau1ie
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.

Code: Select all

   Player 1 uses Z for up,
                 X for down.

   Player 2 uses / for up,
                 . for down.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 9:54 pm
by pau1ie
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:

Code: Select all

     480   IF K=32 AND FLAG=0 THEN PROCfire
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]

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 10:07 pm
by pau1ie
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]

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 10:16 pm
by pau1ie
[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]

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 10:40 pm
by pau1ie
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]

Re: 100 Programs for the BBC micro by John Gordon

Posted: Fri Sep 27, 2019 10:42 pm
by pau1ie
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Sat Sep 28, 2019 5:48 pm
by leenew
Cheers Paul :wink:

Lee

Re: 100 Programs for the BBC micro by John Gordon

Posted: Sun Sep 29, 2019 9:10 am
by Michael Brown
Thank you
Mick.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Sun Sep 29, 2019 8:50 pm
by pau1ie
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

Posted: Sun Sep 29, 2019 10:19 pm
by leenew
Excellent.
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

Posted: Sun Sep 29, 2019 11:30 pm
by pau1ie
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.

Re: 100 Programs for the BBC micro by John Gordon

Posted: Mon Sep 30, 2019 7:27 pm
by CMcDougall
/\ that agrees with my pics of the actual tape :wink: