Version 1: https://scratch.mit.edu/projects/856330002/ A simple AI I coded that figures out how to hit a bullseye based on its previous shots. Click the target to move it to a new position Press space to start the simulation H key to hide/show variables Drag the bot to different positions if you want (not too close to the edge or it won't work) New Stuff Added: - In the previous version, if none of the arrows hit the blue, the blue will never get hit. In this version, if the blue isn't hit the AI will spread its shots to hit the blue. - You can drag the bot now - There are a lot more targets - The AI will automatically shoot arrows until it gets two hits - You can set the # of calibration shots Bugs to fix in the next version: - It's possible for the arrows to hit both the yellow and the blue at the same time (I think this is a problem with scratch) - Very rarely the AI can still get stuck, if the area of one of the colors under 4 is bigger than the radius of the AI's variation