bones-ai / rust-drive-ai

Self driving car AI in road fighter world

Home Page:https://youtu.be/H7RWcNgE-6s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI learns to drive

AI learns to drive in a road-fighter inspired environment

The cars are controlled using a neural network, and are trained using a genetic algorithm.

Built with Rust and Bevy game engine

gui

Demo

Here's the entire timelapse of the AI learning to drive

youtube

Devlog

Here's a devlog of how this was built

youtube

Usage

  • Clone the repo
    git clone git@github.com:bones-ai/rust-drive-ai.git
    cd rust-drive-ai
    
  • Run the simulation
    cargo run --release
    

Configurations

  • The project config file is located at src/configs.rs

Forks

Here's a list of of forks that extend this project, let me know if you have an interesting fork to add:

Assets

About

Self driving car AI in road fighter world

https://youtu.be/H7RWcNgE-6s

License:MIT License


Languages

Language:Rust 100.0%Language:RenderScript 0.0%