So this is the bare skeleton of a 1 on 1 fighting game, in which each character fights automatically, according to its AI. Using Java's interface functionality, I've set it up so that users need to offer a class file that inherits from my simple Character interface class file.
The Character.java file is the Character interface file. Look at Burst.Java and TomatoMan.Java, for examples of files that correctly subclass the Character.java file.
All subclasses should implement the Character interface, but you can add on top of it, so that your character will battle according to your unique strategy. The game allows programmers to create their own subclasses, and discover who's strategy prevails in dual. It's easily run, so you might give it a whirl.