/* Learning objective: A small "how not to do it" approach when writing a Java program. It includes static methods (one shown for illustration purposes) and presumably the rest of the solution is contained in this class definition. */ public class HowNotToDoItManager { public static void main (String [] args) { generateAttack(); // NO!!! } public static int generateAttack() // NO!!! { } // Rest of Fighting simulation contained in the methods of this class. }