Ericthestein / Genetic-Algorithm-Demonstration

A demo of a genetic algorithm being used to train an AI agent to complete an obstacle course. In this scenario, the agent must learn to change its color depending on the color of the next obstacle, which is detected by its front sensor. If the agent's color matches that of the next obstacle, it is able to pass through.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Genetic-Algorithm-Demonstration

A demo of a genetic algorithm being used to train an AI agent to complete an obstacle course. In this scenario, the agent must learn to change its color depending on the color of the next obstacle, which is detected by its front sensor. If the agent's color matches that of the next obstacle, it is able to pass through.

Demo

Usage

  1. Download GeneticAlgorithmDemo.rbxl
  2. Open the file in Roblox Studio
  3. Click the Run button (in the Test tab above the main window).
  4. Watch as your agent trains itself! Useful information is displayed in the output window.

Built With

Author

  • Eric Stein

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A demo of a genetic algorithm being used to train an AI agent to complete an obstacle course. In this scenario, the agent must learn to change its color depending on the color of the next obstacle, which is detected by its front sensor. If the agent's color matches that of the next obstacle, it is able to pass through.

License:MIT License