cartridge-gg / drive-ai

Self driving car AI in road fighter world

Home Page:https://drive.cartridge.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://drive.cartridge.gg

License:MIT License


Languages

Language:Cairo 50.1%Language:Rust 49.9%