Skip to content

cartridge-gg/drive-ai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drive AI

Drive AI is a ambitious experiement pushing the boundaries of verfiable compute. The road-fighter inspired simulation environment is implemented with Dojo, a provable game engine which enables zero knowledge proofs to be generated attesting to the integrity of a computation.

In the simulation, a car is controlled by a neural network and is tasked with navigating traffic in it's environment. The car recives inputs from it's sensors, passes them to its neural network and outputs a control for the direction of the car.

In this demo, a neural network is trained in the simulation environment offchain. Once a model is defined, it can be exported and benchmarked in the provable simulation. All physics and neural network inference occurs in realtime and zero knowledge proofs of the computation are produced asynchonously. The

Built with Dojo, Rust and Bevy game engine

gui

Usage

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

Configurations

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

Assets

Acknowledgements

This game is based on the great work of the original rust implementation found here: https://github.com/bones-ai/rust-drive-ai

About

Self driving car AI in road fighter world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cairo 50.1%
  • Rust 49.9%