Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 745 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 745 Bytes

Q-learning with Java Robocode

  • JDK 14 is required to run this project
  • To start the simulation run src/tanks/RobocodeRunner.java
  • The model is pretrained in the robots/sample/RL.data/data.dat and robots/sample/RL.data/data_shooting.dat files
  • To run the simulation with the pretrained model uncomment useSavedMap() function call at src/sample/RL.java:61
  • To see the simulation uncomment line at src/tanks/RobocodeRunner.java:65
  • Number of rounds can be changed at src/tanks/RobocodeRUnner.java:69
  • To train the model from scratch don't call the useSavedMap() function, newly trained model will be saved to robots/sample/RL.data directory