Bots and Simulations > Bot Tavern
Two ideas: dummy, puppet master
PurpleYouko:
Good. Did you get around to doing anything with the internal tie arrays yet?
That would be tielen1 through tielen4 and the same for tieang1 through tieang4.
I had actually wondered if there was an easy way that these could actually be re-written as tielen(1) and so on then make the parser recognise the parentheses as reserved characters so as to enter the values into an array rather than having 4 (or more) seperate sysvars.
I just never got around to working on it.
Numsgil:
We should be careful of making special cases in the DNA. If tielen and tieang get special parenthesis, it should be made a main feature of DNA, not an exception.
I also think I might have issue with it in regards to mutation code.
PurpleYouko:
Agreed. It certainly needs to be global if used at all.
Can you think of any other place where it would be useful to enter DNA values as an array rather than as a series of single values?
How about the eyes?
An alternative to eye1 through eye9 we could allow the DNA to be eye(x).
The program would need to be able to read either kind of entry if we were to put something like this in place.
The possible advantage of this, other than slashing the number of sysvars that we need to define, would be that later versions could easily expand on the current one by allowing many more values for 'x' to be used.
I would think that mutations would be easy enough to work out. It might even make them simpler in some ways.
Also think of all the fun you could have in the DNA by substituting a number in the 'x' position for a variable.
Whole new levels of possible complexity with variables addressing other variable directly
It was just a thought anyway.
Navigation
[0] Message Index
[*] Previous page
Go to full version