Robocode robot which uses Reinforcement Learning algorithm (QLearning).
- Download and install Robocode (at least version 1.9.2.1)
- Download and install Gradle
- Clone this repository.
git clone https://github.com/krris/QLearning-Robocode.git
- Go to download directory and run:
gradle build
gralde copyDeps
- Modify robocodePath in config.sh. It should point your Robocode installation.
- Modify in src/main/resources/application.conf:
- rewardsPath (place where 'rewards' file generated by Robocode will be saved)
- chartPath (place where chart with rewards/round will be printed)
- battleConfigPath (change the path (according to your home directory) it points to battles/generate.battle)
cd scripts
./run.sh
Where I can set QLearning parameters, number of rounds, robots etc?
You can change every configuration in application.conf