Third programming contest – Points

Collecting points

This section should explain how points are collected because this will probably influence your game tactics.

In the blue team you will get points for every round you are in the team. Earning points is not so easy in the red team, but the outcome could be better. You will get points for every blue player you catch. The points for both teams will be calculated in a way so that there is almost a balance between both parties.

As soon as a blue player will switch to the red team, he will get points for the membership in the blue team. This is calculated by

BP = CR * RP / 10.0,

where BP = blue points, CR = current round and RP = number of red players. This means that the later a blue player changes to red (and therefore the bigger the red team is) the more points he will get.

The points for red players will depend on the number of blue players and the theoretical maximum number of rounds to play. As shown above you can calculate how many rounds the game could take. So the points are

RP = MR / BP / RF,

where RP = red points, MR = maximum number of rounds to go, BP = number of blue players and RF = number of red players that have also catched the blue player in this round. So if several red players will stand around a blue player and catch him they will share the points equally.

The sum of BP and RP equals the end points and thus will determine to the winner of the match.

A few examples:

  1. There are 10 players in the game. Player 1 will be forced in the red team in round 28. He won't get any points for it because there is not a single red player yet.

    Then player 1 catches blue player 2 in the 48th round. As there are nine players left in the blue team, the game will end in round 475, so there are 475-48 = 427 rounds to go. So

    RP = 427 / 9 / 1 = 47.44 points,

    what equals the end points of player 1.

  2. There are 10 players in the game again. Seven players are in the red team and three are left in the blue team. We're again in round 48 but the last team change was only one round ago. Consequently, the game will end in round 158, and there are still 110 rounds to go. Player 3 and 4 catch player 7 simultaneously. Each player will get

    RP = 110 / 3 / 2 = 18.33 points.

  3. Again 10 players in the game, but there is only one blue player left. We are in round 100, the last team change was 40 rounds ago. With above formula the next forced team change should be in round 95. Because of the exception of the rule (only one blue player left, see above), there is no forced team change. So if tne red player would catch the last blue one in this round he would not get any pointsfor it as the calculated maximum number of rounds is exceeded. But on the bright side the red player does not get any minus points for taking so long.
previous page next page