Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
Depot Games: Campo de Batalla

Current Version: 1.0

Project Status: Completed

Links: Web Site, Text Version (44KB), Contest Version (15.8MB).

Category: Strategy

Developers: Pier

Ports:

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.

Downloads

Name Comments Size Date
batalla_contest.zip Source files. 42,035 05/23/2008 9:28 AM
Screenshots
Main Screen
Main Screen
Public Opinion
The Developer
Pier
PierHi! Visit my website for info about me. (View Profile)