Code center > Suggestions
Codules
Endy:
The general cost increase for goto use could be log based. The gradual increase in nrg expenditures should naturally limit infinite-loop bots. It would also be a good incentive for authors to make use of codules efficently. :)
Possibly we could have a timer that'll stop execution somehow after a certain amount of time. Kind of artificial but would fix the main problem.
Evolution would probably fix the problem for us so I myself don't see what the problem would be.
Seriously the only way an infinite loop bot would likely come to exist, would be if we made one. :)
Greven:
I did just read the first 5-10 lines of your first post Num, and I think GREAT idea, I really like it alot.... Open up for alot of possibilities....
bacillus:
I think real DNA works in a similar way. We should really have a control section, a piece of DNA that can refer to the codules, which have no other way of being executed or referencing other codules. This way you end up with a whole lot of packages that do not tangle up with each other and can be activated as many times as needed by a detached piece of code (The traditional DNA section).
Btw. just had a look at the code repository, it looks as though the Chromosomes just add an unnecessary complexity level.
Numsgil:
For simple bots, yes, chromosomes add an extra level of complexity. But my thinking is that it would allow for something like diploidness. Basically two genomes sharing control of the final behavior of a bot. Also, they feed in to the concept of viral code. Of course, it's been a while since I played around in the DNA code, so it might be time to crack open that specific nut again and reevaluate the different ideas.
gymsum:
I cant see a reason for codules... CUrrently if you dont want something to activate, you make conditions taht deactivate the genes, and at the end of a cycle active genes become phenotypic. I dont think any rael life DNA has a skip in it, its all write, read, stop commands. Adding a codule to skip to a section of dna seems just impractical, for most smaller bots, and with mutations they would still fail to do what you want.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version