Skip to content

bones-ai/rust-drive-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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