a Java submission for War-O