ScratchData LogoScratchData
Back to rossrom0's profile

Genetic Algorithm MOS

ROrossrom0•Created October 10, 2019
Genetic Algorithm MOS
1
1
14 views
View on Scratch

Instructions

This program uses a genetic algorithm which is a code that evolves itself to solve a problem that otherwise wouldn't be possible. There is 1 number called the medicine, and it is a 6 digit number with random numbers 0-4. The diseases are randomly generated 6 digit numbers like the medicine. Then the 4 with the closest number to the medicine will fuse to make numbers 1-4 for the second generation, and 1 digit will change of each of them for numbers 5-8. Then numbers 9 and 10 are completely random new numbers. The generations will grow and evolve until they match the medicine number entirely, and the one that makes it to 6 will show a picture of a diamond on. Please comment and tell me in how many generations it took so I can make a scoreboard!

Description

I made this for my 2nd MOS project in the 2019-2020 school year. Special thanks to my uncle and my grammy for giving me the idea. *PLEASE DOUBLE CLICK BETWEEN STARTS*

Project Details

Project ID335513212
CreatedOctober 10, 2019
Last ModifiedNovember 3, 2019
SharedNovember 3, 2019
Visibilityvisible
CommentsAllowed