			MONKEY 
				by Eric Piel
STORY LINE:
You are a gorilla who is out on a ramble in jungle moving from liana to liana searching food. So you have to pick up the maximum of banana as you can according the length of the lianas avoiding the hidden trap-door spider between the trees. Be careful you won't be able to cross again your path.

HOW TO PLAY:
to select the liana you want to use indicate it by pressing the numeric keyboard keys corresponding or the direction keys.
To start a new game you can push Y=.

ALGORITHMS:
There are two interesting things, the first one is the memorization of the direction chosed by the player using the U end V variables which indicate the direction on each axes, it permits to easily calculate the moving just with an addition. The second one, the most important, is the drawing lots of the figures which have to be placed in the matrix representing the length of the lianas. To do that we begin by using the special function randM which places a number between -10 and 10 in each part of the matrix. We get the absolute value, we adding and dividing and we obtain figures distributed with the following coefficients :
Figure :	0 1 2 3 4 5
Coefficient :	1 2 2 2 2 2
The zero's represent the spiders. This method, as complex it is, has the advantage of being quick.

NOTES:
I have been inspired by a game under Windows called 'Gold Monkey' developed by Gold Software itself inspired by a IQ test.

Eric Piel
e-mail me at: Arval.Archi@Wanadoo.fr
