Chapter 496: Experiment
It took more than half an hour, Xiao Yuan finally wrote the last part of the program completely, and after repeatedly assembling and debugging, after confirming that there was no problem, the next step was to conduct the first test.
After a busy week, it is time to verify his ideas, Xiao Yuan's mood is inevitably a little excited, because he doesn't know what the final result of the program he wrote will eventually produce, so, in addition to his expectations, he has some apprehensions, this feeling Xiao Yuan was learning hacking techniques in his previous life and experimenting with them, he often had, and after being reborn, until now, everything he did on the computer was basically eating the old book, so that now this feeling resurfaced in his heart, It made him feel a little strange.
"Maybe my previous life was a little off track, and I should reflect on it." This kind of strangeness made Xiao Yuan suddenly feel such a feeling.
The first thing he had to do was to run the program god, generating a piece of memory space for the free-range evolutionary program, which he named the world (world), and that program was named seed, which means that God created the world and stocked the seeds to grow and evolve.
In the initial configuration, the initial world size set by Xiao Yuan is 256kb memory space, and the reason why it is not set to be larger is because there is only one seed with a size of 128 bytes, and if the world that is stocked is set to be too large, it will be like throwing a fish into a pond, which is very inconvenient to observe.
The newly generated world, before the seed is put in, is a space where binary bits 0 and 1 are in equilibrium, and if there are no external factors to interfere, it will always remain completely stationary, like a pool of stagnant water that does not flow at all, and this balance is a static equilibrium.
When there is interference from the outside world and the balance is broken, God will adjust the world according to the changes in the world, so that the world, like the real world, has the basic characteristics of tending to balance, and this adjustment will become the initial stimulus to stimulate the evolution and growth of the seed.
After the world was generated, Xiao Yuan entered a command in the god's console, and started the seed program through god, and when the seed program entered the balance world generated by god, it quickly caused a series of imbalances in it, and after God detected this imbalance, he began to adjust the world through a special algorithm to promote the world to restore balance, and this adjustment is bound to have an impact on the seed, if the world returns to the previous static balance again, it will be wiped out.
When designing the seed program, Xiao Yuan designed a very small kernel for the seed program, which has the ability to self-repair and self-mutation, that is to say, if the god program wants to modify the memory unit occupied by the seed program in order to restore the balance of the world, the seed program will resist this modification, or dodge, or will adjust its own code structure according to the situation, and this adjustment process is actually the evolution process of the seed.
This seed is currently relatively low, in Xiao Yuan's view, like a single-celled organism, although it can respond to external stimuli, and adjust itself according to external stimuli, but this reaction and adjustment are unconscious, belongs to the lowest level of stress response, in Xiao Yuan's imagination, if the seed can evolve, and eventually evolve to a very complex degree, perhaps it will evolve a learner and memory, at that time, this program may no longer be called a seed, but should take another name.
It's just that Xiao Yuan himself is not very sure whether it will evolve to that kind of program.
After the torrent runs, the god's monitor reflects the changes in the memory area he created on the screen, and the upper left part of the image that was originally as static as a calm lake seems to throw a stone into it, and the balance is broken and it begins to become chaotic.
This kind of chaos quickly spread around, and after more than ten seconds, the entire screen image became chaotic, except that there is an area like the center of the vortex in the image that is constantly moving, the movement in the whole image can not see any regularity, Xiao Yuan knows, the center of the vortex is the core of the seed program, it is precisely because it is constantly avoiding God's balance adjustment, there will be a phenomenon of non-stop movement, the same reason, so that the position centered on it, the imbalance is the most obvious, will form a phenomenon similar to the center of a vortex.
As time passed, the movement in the center of the vortex became weaker and weaker, and after about three minutes, the vortex disappeared completely, leaving only a completely irregular, chaotic image on the screen, which became weaker and weaker over time, and finally fell completely silent.
Xiao Yuan knew that this situation God would wipe out the seeds that created chaos in his world, but he was not frustrated, in fact, he knew very well that it was almost impossible to successfully evolve the seed program in a single experiment, unless there was luck against the sky.
Although the seed was wiped out in this experiment, it at least proved one point, that is, his idea is feasible, and the seed program can be self-adjusted, as for the reason why it was obliterated, Xiao Yuan analyzed, it may be that the god's recovery control of the balance he set is relatively too strong, and the self-regulating mailbox of the seed is weaker.
So Xiao Yuan readjusted the parameters of God's control over the world, weakened it a little, and was about to put the seed back into operation, when his heart suddenly moved, and then adjusted the self-regulation ability of the seed a little higher, before restocking it into God's world.
At the beginning, the situation was still similar to the last time, the static balance of the world was broken, and the god and the seed began a new round of confrontation, one to maintain the balance of the world he created, and the other had to continue to destroy the balance of the world for its own survival.
This situation lasted for a while, because Xiao Yuan could increase the seed's own ability and reduce God's ability to maintain balance, the result was that the seed's vortex was getting bigger and bigger, and after ten or so minutes, this vortex had expanded to the entire space controlled by God, just like the end of the world, it was chaotic everywhere, God was obviously powerless, and the world-destroying program set by Xiao Yuan was activated, and the entire memory space was cleared, So the seed that had become lawless was ruthlessly wiped out again.
"It seems that my conjecture is correct, and only when there is a balance between the destruction of the balance of the world by the seed and the repair of the balance of the world by the god, can the seed continue to exist." Xiao Yuan thought secretly.
So he followed up with several experiments, constantly adjusting the parameters of the god and the seed, and on the ninth time, on the image, the vortex centered on the seed leisurely wandered through the world, and the chaos caused by the place was quickly restored by the god, and a dynamic balance was reached between the two.
It's just that this is not Xiao Yuan's ultimate goal, because what he wants is the evolution of the seed, and now when he is awake, the seed and the world have reached a dynamic equilibrium, although it is still in motion, but Xiao Yuan called up the memory sampling recorded by the monitoring program, but found that after reaching balance with the world, his memory sampling has hardly changed, that is, it has not evolved.
"Looks like we need to do a little bit more stimulation." Xiao Yuan thought for a while and decided to artificially break this dynamic balance, so he entered a command in God's console, and in the sound of carriage enter, the dynamic balance of the world was instantly broken again.
ps: Today's one update.