With this libray, you'll be able to write your own robot very quickly and easily.
With simple inheritance, and overloading of self-explanatory methods, you will be able to concentrate on the logic of your robot, not it's bowels.
In itself, that will save you some debugging time :)
Make a simple robot as simple as
import org.wadael.waverobotfrmwrk.simple.BlipModifierRobot;
/**
* Example robot that adds RTFM!! after each question mark.
* It assumes there is a manual for the conversation's themes.
*
* @author jerome baton : Wadael, http://blog.wadael.org
*/
@SuppressWarnings("serial")
public class RTFMRobotServlet extends BlipModifierRobot {
@Override
protected String modifyBlipText(String actualText) {
if(actualText.indexOf("?") == -1) return null;
else {
return actualText.replaceAll("?", "? (RTFM!!") ;
}
}
}
A tutorial has been written by Romin K. IRANI of gaejexperiments fame
But please do not forget to browse the wiki, where you should find all the information you need.
Search for public waves with "wadrobotframework" in the title if you want to exchange with me.
More info in the Description page
Want to participate ?
There is several ways to use this framework, in ASCending effort order
- use the ZIP provided and follow the QuickStart
- Use the generator
- use the JAR in your own project, do all configuration by hand (more control, more responsabilities)
Jan 2010, 3rd
Released new version, now with generator.
It creates all the boiler-plate wave files for you, now just concentrate on the robot's logic.
See wiki pages GeneratingASkeleton and UsingAGeneratedSkeleton for usage.
Jan 2010, 26th
I had a few errors with SVN in Eclipse lately. Version 1.2 is being tested. It will be released as a ZIP soon.
Feb 2010
Join the group http://groups.google.com/group/wadrobotframework-public for announcements
Feature codenamed SOWHAT is now implemented. Using an unknown command (or in case of syntax error) now makes the (advanced) robot emit a warning (as a new blip).
Cheers,
Jérôme BATON (@wadael) Follow @wadael on twitter for news.