This is an Evolutionary AI Algorithm I made for fun. When one of the AI touches the flag, it gets tracked for how many directions it moved e.g if it moves more to the right than the others than the right has a higher chance of being picked in the next generation. When touching the edge on the other hand, it gets punished and the most chosen direction has a lower chance of being picked in the next generation Press [SPACE] to hide/show "moves" variable "moves" variable shows how many seconds until the flag moves onto a different place
Sound from Pixabay. Specifically brought from this project: https://scratch.mit.edu/projects/1271686456 Use turbo mode for more faster results Use turbowarp for even faster results: https://turbowarp.org/1376094720?turbo&fps=60