https://github.com/eointolster/twoBot...
Hope you are doing well here is the project description below.
Original video I was mimicking
• A genetic algorithm learns how to fight!
This project is a simulation of two AI-controlled bots competing in a 2D environment. The bots, colored blue and red, move around a confined space, trying to shoot each other while avoiding incoming bullets.
Each bot is controlled by a neural network that takes in information about its surroundings and decides how to move, turn, and when to shoot. The neural networks evolve over time, learning from their successes and failures.
The simulation is visualized on a web page. In the center, you can see the game area where the bots interact. On either side, there are diagrams showing the structure of each bot's neural network, helping us understand how they make decisions.
As the simulation runs, you can watch the bots develop different strategies. Sometimes they might be aggressive, other times cautious. The goal is to observe how artificial intelligence can adapt and improve in a competitive environment.
This project combines elements of game design, artificial intelligence, and data visualization to create an educational and engaging demonstration of machine learning in action