=========== || readme.txt || =========== Killaship 2022 Work in progress. I may or may not finish this, but this project will probably be more documentation than actual functioning examples. What I'm trying to do here is simulate evolution via natural selection. The way I'm planning to accomplish this is by having every "creature" have a small virtual CPU structure, where you can think of the memory as DNA and the VM as a brain. For how you make a VM, there's a pretty good blog post I found a few months ago that explains it. https://felix.engineer/blogs/virtual-machine-in-c/ Basically, the main control loop iterates through instructions, executing them; as you would expect a CPU to do. All creatures at the very beginning will have a random set of instructions, and through natural selection, the best and most efficient will be passed down to offspring, simulating evolution.
if you want to learn how it works, read the code https://www.youtube.com/watch?v=N3tRFayqVtk that video is a big inspiration https://felix.engineer/blogs/virtual-machine-in-c/ how to create a basic "vm" of a CPU definitely a work in progress