SNAKE
(C) 1999, Alexander Pelepeychenko
__________________________________________
Here and ready my first game. Despite
the many challenges it with iron,
something with music, the lack of time, this toy is embodied in
life. I do not know Did you like it or
No, but I think that still at least somebody will like it. The
idea of this game does not belong to me: I once saw a SNAKE
DEMO on a PC, then decided to implement
this game on the Spectrum.
The game belongs to the category of logic.
You will be asked to program
its a snake and to fight with another snake.
(Perhaps the one that made your friend)
Programming is carried out by snakes
asking the nine cards that determine their behavior.
Management: QAOP M SP, KEMPSTON MOUSE.
All the buttons work the same way (as in the SE).
Any action performed on Clicking
buttons and messages. Well, with all knopchkami
clear (they can be seen with the naked eye), and
Here on the text messages say
a few words. In the menu you can click on the PASSPORT
PASSWORD and names zmeyuk if front of them
is "+". (If the "+" does not, then you can enter the password
snake.). In the FILE menu you can enter file name. In paragraph
NEW ZMEYUKA are clickable password, name, 1, 2, 3, 4, and
CANCEL. Be careful: the password can be only enter when you
create a serpent.
Current is the one snake, which contrary to the menu
PASSPORT is flashing "+".
Such as the Action of editing cards
rates, hold it to the current
snake.
Well, that is to say, a departure from the essence, and now
the very essence.
To specify the behavior of snakes, it is necessary
edited 1 ... 9 cards in the "LOGIC
BEHAVIOR. "During the battle, these cards are checked by one
game with the situation in these rules:
1. Map is superimposed on the snake so that
under the head on the map is holomorphic
Snake Island on the playing field.
2. Map is matched, if by
items on the map turned out to be exactly
the same elements on the playing field.
3. If this does not happen,
checked in the same way all
rotations and reflections of the logical map.
4. Checked at least prioretetnye card.
5. In case of a logical map
when applied to the field has gone beyond its
limits, then this part is considered to coincide
fallen.
6. The shaded elements of the logical
cards are coincident.
Next, choose one of several
directions:
did not match any one card ... otfonarnoe
coincided map
rotated up ........... Up
"-----"---" Down down ...........
"-----"---" Left to the left ..........
"-----"---" Right ......... right
Snake creeps in this direction.
By the way, if it so happened that coincided
Several napravlieny, the motion will occur in one of these
parties.
The aim of the game is in full or partial eating of all
(part of) the enemies by tail biting. To increase the
difficulty do not recommend using BET. You should not attempt
to put into a logical map something like "not his own head," or
some of "their heads", or the combined
no function "at least" because the result
comparison of these "left" maps will be uncertain, but they
probably will not match.
Snakes do not go by turns, and random
way, but so that for a time walking up
snakes, which are now on the screen.
One round to determine the right balance of force is not
enough snakes. Practice has shown that this requires several
(the more the better) rounds. For example in the help on the
pc, as I I remember, it is said that 12-15 rounds allow us to
determine the winner with an accuracy 80-90%.
Once loaded into the memory there are 4
snakes. This was done specifically to illustrate the algorithm
verification cards. Password to it all 1111.
Now the questions that may arise
at game
Q: I can not go to the menu logic of
I can not make a bet.
A: Go to the Passport, enter the password of your
snakes, and then click on this
opposite the name of the snake "+".
Q: In the logic of behavior I have set above the free
her head "no obstacle" in the hope
that the snake will stay away from
curb, but this does not happen.
A: This should not happen, because
when the snake comes to the curb on the map
no longer coincide.
Q: Very often there is a "looping"
snakes.
A: Try to specify the logic behavior
so that the snake was producing "rastsikli
tion. I came out so do I
even came up with more than one way. Poekspe
rimentiruyte may be able to come up with
something to you.
Q: When the distance to the nearest snake so
large that it exceeds the range of
maps, the probability of meeting and reduces
have to wait long until someone to
On a catch.
A: Try to specify the logic so that
even in the absence of near anything
Your snake moving through some laws
"Well," furrow "out there most the greatest
portion of the playing area.
Q: And that actually makes sense to ask
in the logic of behavior?
A: You can try to ask not only desirable
of eating an enemy, but many other
action. For example, in Figure 1 shows
snake entangled in itself. Tail
Naturally, sticking out. Most of it
part in this case can be impunity
zanno otkushena, try to avoid
such situations. But it may happen that
your snake will be in the role of "otgryzatelya
jam; then it is better (in my
view) did not eat the part that
can unlock the snake, or at least
do not eat snake completely, as in
Then you find yourself in a role eaten
Noah, try and ask this. Finally,
You can try "cutting" carbon
fishing in pursuit of the enemy. It is possible (human
yeah no idea how) to ask samozapu
tyvanie snakes such ovrazom, so it
the tail was not available for the teeth against
nick, though doing this makes sense for
a decent length of your pet (although
make it as short unlikely
succeed). It sometimes happens that two (or even
and more) snake entangled in each other.
Naturally, the normal II
this should not happen. Think
themselves, which would have to ask.
Fig. 1
The game is a non-standard disc
interface (with music), which can cause
unstable or slow down the disk on the most inhibitory / turbo
drive or computer (although I works without problems), or on
disks with unsuccessful interleav'om.
Earnest request: if there are constant glitches seen in
diskovgo interface dos 5.04t or compatible with
her to report them.
__________________________________________