We hold an Programming-Contest every few months, the PureContest.
It was asked, if the contest could be expanded to the english forum as well. Except for my poor english, theres nothing to say against. So i hope you understand the rules and participate in swarms

AI-Game
The Engine with Documentation and Demo-DLLs written by Lars from the german forum:AI-Game.rar - 165KB
What can be better than to be squired by a little Robot, which relieves you strenuous work, entertains you and eventually lets bothersome people vanish inconspicuously?
Well, not much.
This Robot could also be used for substitute-fights, so that on has'nt to deal with nasty neighbors or similar things. One Arena, two Bots and every dissension is solved in three minutes. Because real bots are not ready for the market yet, we confine to simulations. May the fight begin!
The rules
- Two Bots fight against each other on the given field. The Bot-Code lies in DLLs which get loaded by the Engine.
- They have informations about walls, surface, position of the enemy and his shots.
- Each Bot starts with 100 Health-Points (HP).
- Lava subtracts 0.007 HP per Timeunit and slows the bot down by 30%, green swamp-slime subtracts no HP but slows the Bot down by 50%.
- A hit subtracts 5 HP.
- A match takes 180 seconds.
- Each Bot has 10ms per round to complete his calculations.
- Technically allowed is everything that PureBasic is capable of, except other DLLs, Userlibraries and Threads. WinAPI is allowed.
- It has to be fair corresponding to the rules. The modification of enemy- or engine-data in memory is not allowed...
- A Bot wins, if he kills the other or has the most HP left at the end.
- If both bots have the same score at the end, both get the chop (Robots do it all or nothing).
- Closing date is 31. August 2004. At this date, all Bot-DLLs incl. sourcecode must have arrived at rob@robsite.de.
- I will then let the Bots fight against each other in randomly chosen order in KO-Mode (classical "Pyramide"). The fights will be held on an 800Mhz Athlon TB with 384MB RAM.
- If the score difference is <=5, the match will be repeated max. 2 times.
- Then the results, the Replay-Files and the bots will be published on the PureContest-Site.
- To play the Replays, just start the Engine with the -replay Parameter.
The profit
A 31,3 cm long 3-Cell D Maglite in royal blue.
'Flashlight' is no expression for this masterpiece of american lamp forging art from Ontario, California. It grants light in all situations and is also feared as a truncheon by the mob...

Screenshots, the Files and the old contests can be found on the PureContest-Site