The puzzle is called swordfighting and its played in the game called puzzle pirates at www.puzzlepirates.com. You can see for yourself how the game is played in the website stated so you can create the bot.
The swordfighting puzzle also has some rules which can be viewed here [url removed, login to view]
and some clips of it at youtube [url removed, login to view]
1) A bot to be made for a puzzle played within the online game
2) User friendly Bot interface
3) The BOT must out-perform anyone in the puzzle game however good they are at that puzzle
4) Tested and bot never beaten