Code Monkey home page Code Monkey logo

ai-car-bot-vanilla-js's Introduction

AI Car Bot - Vanilla JS

This project showcases a self-driving car simulation built using vanilla JavaScript, with no external libraries. It employs neural networks to simulate the decision-making process of a self-driving car.

Features

  • Vanilla JavaScript: The project uses pure JavaScript, HTML, and CSS.
  • Neural Networks: Implements basic neural networks for decision-making.
  • Sensor Simulation: Simulates car sensors for obstacle detection.
  • Visualization: Visual representation of the car, road, and sensors.

Getting Started

Prerequisites

To run this project, you'll need a modern web browser with JavaScript enabled.

Installation

  1. Clone the repository:
    git clone https://github.com/HalemoGPA/Ai-car-bot-vanilla-js.git
  2. Navigate to the project directory:
    cd Ai-car-bot-vanilla-js
  3. Open index.html in your web browser.

Usage

  • Open index.html to start the simulation.
  • The car will attempt to drive itself using the implemented neural network.
  • Modify the JavaScript files to adjust the car's behavior and neural network parameters.

Project Structure

  • index.html: The main HTML file.
  • main.css: The stylesheet for the project.
  • main.js: The entry point for the JavaScript code.
  • car.js: Contains the Car class.
  • controls.js: Manages user inputs.
  • road.js: Handles road rendering and logic.
  • sensor.js: Simulates car sensors.
  • network.js: Implements the neural network.
  • visualizer.js: Visualizes the neural network.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License.

Acknowledgements

  • Inspired by various online tutorials and resources on self-driving cars and neural networks.

Feel free to customize this README to better suit your project's details and style!

ai-car-bot-vanilla-js's People

Contributors

halemogpa avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.