Modifing a single file in a game application
I would like to improve the Artificial Intelligence of a "Risk/Domination" game developed in Java (Domination). The source code is available to download.
Looking at the source code of the AI I can manage to understand 80% of the java language and of the scope of each class in the AI file. My issue is not therefore on java language but more on "playing with jar files and compiled java files"
The structure of the source files (provided in src.zip format) is the following (AIHard.java is the file I would like to modify):
The question is, once changed AIHard.java file, how can I re-compile the whole package and re-create the jar file to run the game? I know I have to compile the sources first and then to create the jar package. I managed to compile the famous HelloWorld.java (therefore I installed already JDK) but I have no idea what to do in this situation where multiple java files compose the game/application.
Thanks in advance!