Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Anazasi

Pages: [1]
1
DNA - General / Is there anyway for a bot to rewrite his DNA?
« on: July 06, 2007, 01:35:10 PM »

2
DNA - General / Making another bot delete it's own genes
« on: July 06, 2007, 10:54:06 AM »
I stole it from the tie tutorial and modified it, I think it works check it out

replace this gene

cond
*.refeye 0 !=
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
1 .shootval store
.delgene .shoot store
stop

with this 3 others

cond
*.refeye *.myeye !=
*.eye5 45 >
start
13 .tie *.robage sgn mult *.refage sgn mult store
stop

cond
*.tiepres 0 >
*.tienum 0 =
start
*.tiepres .tienum store
stop

cond
*.tienum 0 >
start
*.refvelup .up store
340 .tieloc store
1 .tieval store
stop

3
DNA - General / Making another bot delete it's own genes
« on: July 06, 2007, 10:38:48 AM »
I think you could do it with ties

4
DNA - General / Making another bot delete it's own genes
« on: July 06, 2007, 10:12:24 AM »
ok I modified it and seems that the problem is with the memory location, for some reason you cannot write in 340 (.delgene) if you replace it with 341 you can see it works.
sorry, maybe someone else could help you.

5
DNA - General / Making another bot delete it's own genes
« on: July 06, 2007, 09:56:38 AM »
cond
*.eye5 0 =
*.refeye *.myeye =
start
314 rnd .aimdx store
stop

this gene is wrong it only activates when there is noone at sight and refeye = myeye (thats never)

you need to add an or like this

cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop

6
DNA - General / Is there anyway for a bot to rewrite his DNA?
« on: July 06, 2007, 09:09:46 AM »
 it seems that I wasnt the first with that idea

7
DNA - General / Is there anyway for a bot to rewrite his DNA?
« on: July 06, 2007, 08:25:14 AM »
thats ok, but I really need to change DNA, it seems that I'll have to tell you mi idea for winning the league, I already make it work but it isn as good as it could be if I could change the dna.
I'm trying to build a chameleon, a bot that would make his myeye equeal to refeye, and since everyone uses this to identify enemies it would be untouchable.
I already make it posible adding this gene a los of times at the end of the bots DNA
cond
 *.eye1 0 >
start
stop

and this other gene deletes them. leaving stoping if the enemy has less than 4 eye calls because it uses these for eating and moving.

cond
 *.refeye *.myeye <
 *.refeye 4 > and
start
*.genes .delgene store
stop


there are two problems with this way of doing it:
1 it takes a cicle to delete a gene so they have to be as few as posible
2 I cant know how many eye calls have an enemy (actually I can jeje if I look at the bots in the league) son it has to be as many as posible.

the only way os solving this is if I could write all the needed eye calls in one cicle.

I hope you understand what I'm saying

MINI CHAMELEON
Code: [Select]
'made from animal minimalis
'by anazasi

'genes 1 to 4 animal minimalis modified to identify by aimdx instead of eye
cond
 *.eye5 0 >
 *.refaimdx *.myaimdx !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

cond
 *.eye5 50 >
 *.refaimdx *.myaimdx !=
start
-1 .shoot store
 *.refvelup .up store
stop

cond
 *.eye5 0 =
 *.refaimdx *.myaimdx = or
start
 314 rnd .aimdx store
stop

cond
 *.nrg 15000 >
start
 30 .repro store
stop

'gene 5 gene deletion gne
cond
 *.refeye *.myeye <
 *.refeye 3 > and
start
*.genes .delgene store
stop

' gene 6 and later fake eye calls
cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop

cond
*.eye1 0 >
start
stop
end

8
F1 bots / ratita australopitecus (F1)(Anazasi)-30.06.07
« on: July 06, 2007, 08:12:52 AM »
Code: [Select]

'ratita australopitecus
'por/by Anazasi
'primer/first bot;)

'gene 1 and 2 del fathers tie
cond
*.robage 0 =
start
.tie inc
stop

cond
*.robage 1 =
start
.deltie inc
stop


'genes 3 to 10 make the bot look at the nearest bot if the one he is looking isnt of his species (this is wrong I'll fix it in later versions)
cond
*.eye1 *.eye5 >
*.refeye *.myeye != and
start
-157 .aimdx store
stop

cond
*.eye2 *.eye5 >
*.refeye *.myeye != and
start
-100 .aimdx store
stop

cond
*.eye3 *.eye5 >
*.refeye *.myeye != and
start
-78 .aimdx store
stop

cond
*.eye4 *.eye5 >
*.refeye *.myeye != and
start
-15 .aimdx store
stop

cond
*.eye6 *.eye5 >
*.refeye *.myeye != and
start
15 .aimdx store
stop

cond
*.eye7 *.eye5 >
*.refeye *.myeye != and
start
78 .aimdx store
stop

cond
*.eye8 *.eye5 >
*.refeye *.myeye != and
start
100 .aimdx store
stop

cond
*.eye9 *.eye5 >
*.refeye *.myeye != and
start
157 .aimdx store
stop

'if nothing at sight it turns 90 degres
cond
*.eye1 0 =
*.eye2 0 = and
*.eye3 0 = and
*.eye4 0 = and
*.eye5 0 = and
*.eye6 0 = and
*.eye7 0 = and
*.eye8 0 = and
*.eye9 0 = and
*.refeye *.myeye = or
start
314 .aimdx store
stop

'if it sees a bot from another species it follows him
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 15 add .up store
stop

'if an enemy is close it ties at it
cond
*.refeye *.myeye !=
*.eye5 25 >
start
13 .tie store
stop

cond
*.tiepres 0 >
*.tienum 0 =
start
*.tiepres .tienum store
stop

'delete friendly ties
cond
*.tienum 0 >
*.trefeye *.myeye = and
start
*.tiepres .deltie store
stop

'feed throw ties
cond
*.tienum 0 >
*.refeye *.myeye != and
start
-1 .tieloc store
-1000 .tieval store
stop

'shoot this was modified in later versions cause the shoots never hit the enemy
cond
*.eye5 25 >
*.refeye *.myeye !=
start
-6 .shoot store
*.refvelup .up store
stop

'reproduce
cond
*.nrg 10000 >
start
50 .repro store
stop
end

there you have, if you can understand my english

9
DNA - General / Is there anyway for a bot to rewrite his DNA?
« on: July 05, 2007, 05:43:11 PM »
Hi everyone, I'm pretty new at this of DArwin Bots and I wold like to know if there is anyway I can make a bot to rewrite one of his own genes or add a new one?
is delgene the only way of modifying my DNA?
I hope not

(english is a foreign language for me so excuse me if I dont use it preperly)

10
F2 bots / Martian Tank 2 (F2)(Martian)-04.07.2007
« on: July 05, 2007, 04:39:57 PM »
 in the second version of my first but (I havent uploaded it yet) I did the same thing give him a choice betwen -1 and -6 now im trying to understand viruses

11
F1 bots / ratita australopitecus (F1)(Anazasi)-30.06.07
« on: June 30, 2007, 02:29:37 AM »
hi im new at this here is my first bot
Code: [Select]
'ratita australopitecus
'por/by Anazasi
'primer/first bot;)

cond
 *.robage 0 =
start
 .tie inc
stop

cond
 *.robage 1 =
start
 .deltie inc
stop

cond
 *.eye1 *.eye5 >
 *.refeye *.myeye != and
start
-157 .aimdx store
stop

cond
 *.eye2 *.eye5 >
 *.refeye *.myeye != and
start
-100 .aimdx store
stop

cond
 *.eye3 *.eye5 >
 *.refeye *.myeye != and
start
-78 .aimdx store
stop

cond
 *.eye4 *.eye5 >
 *.refeye *.myeye != and
start
-15 .aimdx store
stop

cond
 *.eye6 *.eye5 >
 *.refeye *.myeye != and
start
15 .aimdx store
stop

cond
 *.eye7 *.eye5 >
 *.refeye *.myeye != and
start
78 .aimdx store
stop

cond
 *.eye8 *.eye5 >
 *.refeye *.myeye != and
start
100 .aimdx store
stop

cond
 *.eye9 *.eye5 >
 *.refeye *.myeye != and
start
157 .aimdx store
stop

cond
 *.eye1 0 =
 *.eye2 0 = and
 *.eye3 0 = and
 *.eye4 0 = and
 *.eye5 0 = and
 *.eye6 0 = and
 *.eye7 0 = and
 *.eye8 0 = and
 *.eye9 0 = and
 *.refeye *.myeye = or
start
314 .aimdx store
stop

cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 15 add .up store
stop

cond
*.refeye *.myeye !=
*.eye5 25 >
start
13 .tie store
stop

cond
*.tiepres 0 >
*.tienum 0 =
start
*.tiepres .tienum store
stop

cond
 *.tienum 0 >
 *.trefeye *.myeye = and
start
*.tiepres .deltie store
stop

cond
*.tienum 0 >
 *.refeye *.myeye != and
start
-1 .tieloc store
-1000 .tieval store
stop

cond
 *.eye5 25 >
 *.refeye *.myeye !=
start
-6 .shoot store
 *.refvelup .up store
stop

cond
 *.nrg 10000 >
start
 50 .repro store
stop
end

Pages: [1]