Players

As mentioned above two teams compete with each other. Their goal collect as much apples as possible in a limited time.

In order to distinguish the players of each team different color are used. Two colors are available, white or black. On screen these colors are used as background for each player. Granted it is not a very nice looking solution but has the nice property of avoiding any confusion ;-)

So what does a team look like? Well, a team consists of 4 different kinds of players. Their advantages and disadvantages will be explained later on in more detail. We start will a revue of the players here under. Next to each name you see the how of each kind of players looks like on the screen. The players types are :

You have no choice as for the composition of your team. Each and every team has exactly these four kind of players once. The only way for your team to make a difference is in the way you program your player to behave!

Later in this text the different capabilities of the players will be described. It is however useful to point out that you will need to make you players act like a team. Indeed, each of the player has a quite specific function. Some players can run faster where others can bring items back to the home cells. You will soon find out that you need to work a some strategy to maximize your chances of success.

More about the players

Normally there can only be 1 player per cell. The only exception are the home cells there is no limitation. That is there can be several player in one home cells. You already know that there are 4 types of players: eater, hunter, ghost, explorer. Each camp has only one eater, one hunter and one explorer. You can however have several ghosts if you feel up to it, you need at least one ghost.

We now describe the capabilities and limits of each type of player. It is important that you keep these in mind when programming then so that you use them in an optimal way.

What players can do

The possible actions are: Players specific :

What players can see/know

Of course in order to behave in an intelligent way the different players should get some information about the game situation. Here are the different information elements a player can get. Note that the information can be different for each player. This for instance that case for the visual information a player can get. This being dependent on its visibility.

You do not get all this information automatically. The player has to ask for this information explicitly (this is done by using the appropriate procedures in your program).

Common properties

There are some properties common to all types of player, these are:
  1. The number of moves he can do in one turn. Some can take several steps in one turn, thus making them faster than others
# moves typical actions visibility
Eater 4 (-1 for 2 apples) take Apples, put at home directions + radius
Ghost 5 kill Eaters & Explorers directions
Hunter 5 kill Ghosts directions
Explorer 6 take Bonus  -> put Mines directions + radius

Visibility: the elements and players they see

Here are the rules which govern what can be seen by a player. We therefore define several terms: The following rules apply to the visibility of the players (see table for a more general overview):

Birth & Kill

Elements and player are submitted to some rules  as far as the moment when they appear in the arena or when they are killed.
Previous<-- Index--> Next
-Back to the top -