A while ago I made Conway\'s Game of Life. I\'d like to make something similar (
ID: 652467 • Letter: A
Question
A while ago I made Conway's Game of Life. I'd like to make something similar (in C++), where each cell would exhibit behaviours such as:
Movement
Reproduction
Killing of other cells (moving onto another cell, for example)
Over time, the cells would 'learn', and I'd (hopefully) end up with a set of behaviours that are beneficial to the ecosystem as a whole, rather than the individual cell.
I'm 100% sure that this isn't new, but I don't know:
What technical terms cover what it is I'm trying to do (what keywords cover my aim such that I can search for other implementations),
Resources, preferably online, although dead-tree style is also good, which would be beneficial reading for this type of programming.
How I should implement this (#2 would help with this); I can modify my cells to do some things (moving, for example), but I'm not sure how I should implement the learning; should I be using a genetic algorithm or is some other type of evolutionary algorithm better suited?
Explanation / Answer
What you seem to be looking for is the science of cellular automata. A good introduction you may find in the wiki. A common way but not the only one to implement these is by using finite state machines. You cab certainly choose genetic algorithms to implement learning, but first try to figure out what exactly you want. With these concepts you should be able to find resources and books.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.