Friday, 17 August 2007

Tickling grass

As you all already know, Endo's chance of survival is also affected by other organisms and objects in his environment. One of the organisms that has recently attracted our attention is grass. It turns out that with just a few modifications to Endo's DNA you can make grass grow in completely different places! We have not discovered, however, how to make it grow at the right locations. Take a look at what we tried:
IIPIFFCPICCFPICICFPPICICIPICIIICCCIICIIICCCIIICCCP
IICIPIIICCPIIPIICIIPIPIIICCPIICIIPIICIPIIICCPIICIP
PPCCCFFCCCCCCCCCCCCCCCCCCICIPPCPFCCCFFCCFCCCCCCCCC
CCFFFICIPPCCPCFCFCFFCCCCCFCFFCCCCCCCICIICIIPIFFCPI
CCFPICICFPPICICIPICCIIICICIIICIICCIIICCCPIICIPIIIC
CPIIPIICIIPIPIIICCPIICIIPIICIIPIPIIICCPIICIIPIICIP
IIICCPIICIPPPCCCCFFCCCCCCCCCCCCCCCCCICIPPCPCCFFFCC
FCFFFCCFFFFFFCFFICIPPCCPCFFCFFCCCCFCCCCCFCCCFFFICI
PPCICPCFFFCFFFFFCCCCCCFCCCCCCICIIC
This prefix enables grass repositioning and redefines the function bioMul (see initial conditions help page) as follows:
bioMul x y = bioAdd x y
It seems that the bioMul function influences where grass is going to grow. We are still searching for the right definition of bioMul, and we are confident that when we find it, grass will grow at the right locations. Do you want to help us figure out how to fix bioMul? If you do, you might find it helpful to understand first how bioAdd is encoded in DNA.

2 comments:

Jochen said...

BTW, here is the relevant part of my prefix perl script (it is no longer in use, since the patch is much larger than its effect :)

modifydna(0x719153, join '', map {natfix($_,24)}
26*24,
0x6fce9c, # activateAdaptationTree
0x713860, # caseVar1
2*24,
0x6fce9c, # activateAdaptationTree
0x71077e, # var1_adaptation
20*24,
0x6fce9c, # activateAdaptationTree
0x719633, # apply2_adaptation
2*24,
0x6fce9c, # activateAdaptationTree
0x710436, # bioAdd_adaptation
2*24,
0x6fce9c, # activateAdaptationTree
0x712c3a, # var2_adaptation
11*24,
0x6fce9c, # activateAdaptationTree
0x719633, # apply2_adaptation
2*24,
0x6fce9c, # activateAdaptationTree
0x719153, # bioMul_adaptation
2*24,
0x6fce9c, # activateAdaptationTree
0x71077e, # var1_adaptation
2*24,
0x6fce9c, # activateAdaptationTree
0x712c3a, # var2_adaptation
$programsize - 0x719153 - 26*24 - 48
);

--
El gasto ziempre se vi mas verde del otro lado de la cerca.

Alexey said...

Beautiful adaptation tree!

For a smaller patch you might want to patch the seed directly ;).