dorkhub

rust-drive-ai

Self driving car AI in road fighter world

bones-ai
Rust12520 forksMITupdated 2 years ago
visit the demogit clone https://github.com/bones-ai/rust-drive-ai.gitbones-ai/rust-drive-ai

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

more like this

perplexity-cli

🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀

Python176

anne-key

Firmware for Anne Pro Keyboard written in Rust

Rust572

TachiSnap

TachiSnap — Pixel Snapper for animation pixel artists. Rust + WebAssembly client-side tool for cleaning up AI-generated…

HTML50

bit_gossip

Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.

Rust50

search

search projects, people, and tags