Skip to content

AI learns to drive a car using the NeuroEvolution algorithm using self-written OpenGL based 3D engine.

License

Notifications You must be signed in to change notification settings

Coestaris/DeepCars

Repository files navigation

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:

About

AI learns to drive a car using the NeuroEvolution algorithm using self-written OpenGL based 3D engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published