Genetic Algorithm Experiment(C# programming)

preview_player
Показать описание
A simple genetic algorithm I wrote
Rules:
Each creature has a genetic code of 10,000 characters
Each cycle the creature will move once in the direction that it's
genetic code tells it to
Upon impact with another creature it will either fight(if different
color) or breed(if same color or creature is willing to breed with
other colors)
If the age of the creature passed 100, it dies
If the creature runs out of stored food, it dies
If the creature hits a wall, it dies
If a creature has stored at least 100 food, it goes through mitosis creating a copy of itself modified only by the mutation chance

Currently the creatures have no sensory input.
In my next project i am working on including sensory input and neural networks that control the creatures!

Thanks for watching
Рекомендации по теме
Комментарии
Автор

Very cool, keen to see how you implement sensory elements into this sort of setup. Would be nice to use a branched GA to train your NN creature controllers.

richcongames
join shbcf.ru