Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 2.34 KB

README.md

File metadata and controls

58 lines (52 loc) · 2.34 KB

DeepCars

AI learns to drive a car using the NeuroEvolution algorithm.

Setup

git clone --recurse-submodules https://github.com/Coestaris/DeepCars
cd DeepCars
sudo apt install mesa-utils libx11-dev libxi-dev imagemagick-6.q16 libfreetype6-dev libgtk-3-dev
sudo apt install make cmake # If needed

Also you need to install Chipmunk2D by following it's instalation instructions like:

git clone https://github.com/slembcke/Chipmunk2D
cd Chipmunk2D
cmake CMakeLists.txt 
make 
sudo make install

And also you need to install STB:

git clone https://github.com/nothings/stb.git
sudo cp stb/stb_image.h /usr/local/include/

Build project

To build project simply use:

cmake CMakeLists.txt 
make all

Application resources

You need to pack resources before running the application:

sudo apt install python3 # If needed
cd packer
python3 -m pip install -r requirements.txt # Setup python requirements
python3 packer.py --out_file=<path to folder with project binary>/resources.bin --in_dir=../resources/

The resource file must be in the same folder as the application executable

License

MIT License

The project also bundles third party software under its own licenses: