3.1 Program Specifications

  1. The participant can use only C++ language. Participants must provide a link for the compiler of the programming language. The program must be executable in Windows XP/ UNIX.

  2. The entire source code should be in one directory BKxxxx and this directory should be compressed in any of .zip or .tar.gz or .tgz.

  3. The name of program file should be "BKxxxx.cpp" where xxxx is the Team Registration number.

  4. The basic structure in C++ is provided to the participants. They are expected to modify the program to implement their strategy/algorithm. The guidelines for modification are provided in the code itself. The serve code is also provide. Instructions can be found on the readme file.

  5. Click here to download the basic code in C++

  6. The participant's source code will be included in the master code and complied.


3.2 Judging Criteria

  1. If the number of turns is less than or equal to 1000, the code which conquers all the planets with no fleet of the opponent’s planet remaining wins the game.

  2. If the number of turns is greater than 1000, the code which has occupied maximum planets wins. In case the number of conquered planets is same, the player with greater Missile Launch Equivalents wins.

  3. In case Missile Launch Equivalents are also equal; the codes will be given another chance to fight against each other.


3.3 Specific Example

Consider the game is at the beginning of turn 4,


Player 1

Home planet

Planets conquered- 2 and 3


Player 2

Home Planet-16

Planets conquered- 11,12 and 15


Remaining planets are neutral with random number of Missile Launchers.

Number of Espionage Probes of player 1 = 3 (as player owns 3 planets so 3 probes, note this is the maximum number of probes player 1 can send to other planets)

Number of Espionage Probes of player 2 = 4

Status of each planet is as follows

Planet Battle Ships Cruiser Missile Launcher
1 3 5 20
2 2 6 4
3 1 4 1
4 0 0 6
5 0 0 2
6 0 0 5
7 0 0 8
8 0 0 6
9 0 0 7
10 0 0 11
11 3 5 4
12 2 4 6
13 0 0 2
14 0 0 8
15 0 3 3
16 4 1 5

Player 1 does the following action

Player 2 does the following action


View the Rules >>