General > Bot Challenges

Building Bots

<< < (2/2)

Ammeh:
Not sure if this really counts...but w/e (is veg)


--- Code: ---cond
start
.fixpos inc
1 53 store
*.thisgene .delgene store
stop

cond
1 *53 !=
*971 *972 dist 1000 >=
start
.fixpos inc
stop

cond
1 *53 !=
*971 *972 dist 1000 <
start
100 .veldn store
0 .fixpos store
stop

cond
1 *53 !=
*.nrg 1000 >
*.fixpos 0 !=
start
100 .strbody store
100 .strpoison store
100 .mkslime store
100 .mkshell store
stop


cond
*53 1 =
*.nrg 1000 >
start
*.xpos 971 store
*.ypos 972 store
314 rnd .aimdx store
10 .repro store
stop
--- End code ---

bacillus:
I was thinking of restricting it so exactly X building blocks are available, so a destroyed block is immediately replaced. This would mean the building block only has one gene:

cond
 *.nrg 2000 >
start
 100 .mkshell store
 100 .mkpoinson store
 .shoot .ploc store
stop

Navigation

[0] Message Index

[*] Previous page

Go to full version