Depot Games: Campo de Batalla
Project Status: Completed
Links: Web Site, Text Version (44KB), Contest Version (15.8MB).
Source Code: Available
Author's Description: Campo de Batalla is a strategy game in which the participants, instead of playing directly, must code a program that will play for them.
The game's goal is to obtain the largest difference between the amount of tanks killed and the amount of times hit. The battlefield is a 7x7 checkerboard, and each tank occupies a 1x1 square. The lower-left coordinate is (1, 1) and the upper-right is (7, 7).
In each turn, the tank can only make one of the following moves:
1) Move one square forward.
2) Move one square backward.
3) Turn 90° to the left or the right of the tank.
4) Shoot (which has a 5 squares reach in the direction of the tank, and can kill several tanks).
If a tank is hit by a shoot, the Master Program will send it to a safe place in the board.
The program can be created in any language, as long as it can be compiled into a windows executable.
There are two versions of the game. The first one is in text mode, so the participants have something to test their programs with quickly. The other version is the one used at the contest and runs in two parts: first a program runs all the battles and saves them in a text file; afterwards, another program reads the file and displays the battles
Note: The game is in Spanish.
Hi! Visit my website for info about me. (View Profile)