/Self-Driving-Car-with-JS

An AI model built with JavaScript to drive 2D game vehicles

Primary LanguageJavaScript

Self-Driving-Car-with-JS

An AI model built with JavaScript to drive 2D game vehicles

The vehicle is equipped with sensors in form of 5 yellow lines that will detect oncoming traffic. as shown below.

image

You can observe the vehicle while noting positive interactions such as when it successfully overtakes another vehicle.

💾 🚮 image

The above two buttons are the save button and the delete button. When the vehicle makes a positive change relative to the road it will be saved and a mutated fuction of the model will be reproduced for future training.