IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
IAtari Documentation

How to install IAtari ?

Retrieve the git repository (git clone for instance).
Make sure to have a compiler that support c++ 14, the most recent version of g++ should do the trick.
You need to install the boost library : "apt-get install libboost-all-dev".
Normally, you don't have to install ALE. Nethertheless, you need to set the environment variable LD_LIBRARY_PATH. To do so, type "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my/path/to/ale/directory". It is extremely recommended to put this command in your .bashrc so that the env variable will be set permanently.
Type "make" in the "src" directory to compile the algorithm. "make clean" will remove .o, .d and executable file.

How to launch or train your AI ?

Launch (Exhibition mode) :

In the config file, set the parameter "algogen" to false, you can also play with the "ALE settings".
Once the program is compiled, execute the command "./atari"

Train (Algo-gen mode) :

In the config file, set the parameter "algogen" to true and "colourPalette" to SECAM, you can also play with the "ALE settings". Nethertheless, it is highly recommended to set "displayScreen" and "enableSound" to false, otherwise it will considerably slow down the tests.
Once the program is compiled, execute the command "./atari -m" in a terminal to start the master.
Then, you can launch as many slave as you want by executing "./atari -s" in others terminals. To launch the algorithm in the entire department use the script named "launch_depart.sh" or the GUI.

How does the algorithm work ?

Algorithm flow

algo_flow.png