Follow the instructions here for OpenAI Gym installations.
Next, install these dependencies:
pip install neat-python==0.8 argparse scipy
There are some arguements:
--max-steps
: The maximum number of steps to take per genome
--episodes
: The number of times to run a single genome
--render
: Renders the game
--generations
: The number of generations
--checkpoint
: Use a checkpoint to start the simulation
--num-cores
: The number of cores to use
To run, execute this on your terminal or command prompt:
python Breakout_AI.py --max-steps YOUR_OPTION --episodes YOUR_OPTION --generations YOUR_OPTION --render