Interesting Challenge: Tank Hunter

new topic     » topic index » view thread      » older message » newer message

I've been working on designing an automated bot to play the classic Java game, Tank Hunter (http://www.javagameplay.com/tankHunter.html) with Euphoria 4.0. My current scheme is to take screen grabs using Win32Dib 0.5.3 (from the archive) and sort through the pixel colors looking for targets, obstacles, enemy missiles, etc. Also, I had to wrap some C code (keybd_event) in a dll to send the keystrokes to the Java applet (I couldn't get other methods to register in the game). Currently, the bot can almost get past Level 3.

I was curious as to other ideas to implement the bot. My current scheme is to always move forward, and to turn based on the angle of the closest target. Also, the obstacle avoidance is rather simple. Once it gets close to an obstacle, it stops and turns close to 90 degrees in an attempt to go around it.

Any thoughts for a more sophisticated implementation? Maybe some simple path planning based on enemy tank locations?

Thanks for the thoughts,
Ira

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu