Ventures of an ex indie game developer

Programmer Wars done

I completed the mini-lunch-game for programmers who want to challenge one another in a game of tank tweaking and hacking. Quick and dirty and as much cheating as you can muster. This is what it looks like:



Each programmer runs his AI on a his own machine and has three tanks each. The tanks are made up by the awesome ASCII-to-3D Object feature of Trabant (and using a capsule for the canon). The tank simply points in the direction it's headed. One shot can be fired every fifth second from each tank. The playing field is 250x250 meters, you fall off you die.

This is what a very simple AI code looks like:

You have an update function and a set of tanks. The tanks are located in progwar.client.my_tanks, the update function, def update(blips), gets a number of input "radar blips" containing last known position of an enemy (or a canon ball, type is included). The blips are updated once per second, but the update function is called at 30 FPS.

Remains to be seen if it's any fun.

About the author

Mitt foto
Gothenburg, Sweden