2011 Programming Contest

This contest ended on February 01, 2012.

We did not have a winner as nobody submitted a bot. This contest will most likely not reappear in 2012 as a result. If somebody would have just turned in the sample bot, they would have won.

SOLDIERX proudly presents the official 2011 Programming Contest. This contest will run from November 01, 2011 until January 31, 2012. At the moment the winner of this contest will get free VIP and a shirt. If we get enough entries, the prize will be much larger. Without further ado, here are the details:

Cripple Fight!

Here's the challenge:

You're a cripple and you have the opportunity to get feeling back in your "under parts". Motivation eh? Here's the catch: This wonderful gift can only be bestowed upon one cripple. You all must fight to the death for your chance at pleasurable sex.

The Rules:

The Battle Arena is a 30 x 30 array.
Each cripple moves one at a time independently.
Each cripple has 10 hit points. If they lose all 10 points then they die.
On each turn, the cripple can either Move to another combat cell to the North, South, East or West - OR - can attack a cripple in any of t cells to the North, South, East, or West.

If the Cripple attacks, the cripple will NOT move.
If the Cripple attacks a cell that nobody is in, Nothing will happen. He will not move to that cell.
If the Cripple moves to a cell that is occupied, The cripple will not be allowed into the new cell and nothing will happen.
If the Cripple attacks and the defending Cripple is "Facing" him, there is a 50% chance that the defending cripple will block the attack and successfully counter attack causing the attacker to lose 1 hit point.
If the Cripple attacks and the defending Cripple is not "Facing" him, there is a 100% chance that the attack will be successful and the defending cripple will lose 1 hit point.

If the Cripple "moves" outside the arena then the Cripple falls to his death and dies immediately.
There is no respawning. Once dead, you're dead.
At the beginning of the First turn, the entire map will be revealed to every Cripple. After that, the map will only be revealed every 90 turns.
There are a total of 90,000 turns during the battle.
The Last Cripple Sitting wins!
If there are more than 1 cripple left remaining, the battle is a draw and nobody gets feeling in their penis.

Attached is a DLL with an interface that you must implement in .NET in order to partake in the battle royal. (I didn't have a lot of time to put this together so you're stuck with .NET. Use Visual Studio Express if you don't know where to find the compiler, or Mono if you're on a unix based system. Also, C++ can compile to .NET natively using a free version of visual studio or Mono. So no bitching about them " fancy modern languages". Smile )

Visual Studio can be found here: http://www.microsoft.com/express
Mono can be found here: http://www.mono-project.com

All you need to do is implement your Cripple's battle algorithm. SoldierX will be running the battles in a tournament style. The actual code to run the battles will not be published! Only the results.

To submit to the contest, e-mail the source code to Kayin and RaT. Code will be reviewed to make sure you're not trying to hack the battle engine, and because this is a programming contest after all. Beyond that, I don't care what you do to implement this.

Post any questions on the forum. Feel free to discuss amongst yourselves privately or publicly. Just remember, there can be only one winner.