-
Notifications
You must be signed in to change notification settings - Fork 0
Running the code
SimonCraenen edited this page Oct 11, 2017
·
5 revisions
clone the github respository into a folder. Go to intellij and import project from existing sources. Navigate to the folder where you cloned the repository and select that folder. You should have to select between two projects it finds. Select the JAVA CLIENT project.
In GVGAI-JavaClient src folder, there is the TesetLearningClient.java file. This is the main place for the code so far. Creating an agent means making a new package in the src folder and creating a class called Agent.java in this package. This class needs to extends utils.AbstractPlayer. Running is done with the oneclcikRunFromJavaClient.bat.
- The path to javac needs to be set so that the bat file can compile the java code files.
- There cannot be a space in any of the file names.
- In the oneclickRunFromJavaClient.bat, make sure to have your correct jdk path selected.