TieBotstxt

From WikiManual
Jump to: navigation, search

This is a list of DNA files belonging to bots that are used in the Introduction to Tie Feeding tutorial

Tie-Bot1.txt

' Tie-Bot 1

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub .aimsx store
stop

cond
*.vel 40 <
start
40 *.vel sub .up store
stop

end

Tie-Bot2.txt

' Tie-Bot 2

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub .aimsx store
stop

cond
*.vel 40 <
start
40 *.vel sub .up store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot3.txt

' Tie-Bot 3

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.vel 40 <
start
40 *.vel sub .up store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot4.txt

' Tie-Bot 4

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye 9 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye 9 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
start
50 .repro store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot5.txt

' Tie-Bot 5

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye 9 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye 9 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
start
50 .repro store
stop

cond
start
1 .tie store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot6.txt

' Tie-Bot 6

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye 10 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye 10 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye 10 !=
start
1 .tie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
1 .tienum store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot7.txt

' Tie-Bot 7

'initialize
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
stop

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye 11 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye 11 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye 11 !=
*.eye5 77 !=
start
*55 .tie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot8.txt

' Tie-Bot 8

'initialize
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
1 .tie store
stop

cond
*.robage 1 =
start
1 .deltie store
stop

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye 11 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye 11 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye 11 !=
*.eye5 77 !=
start
*55 .tie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop
cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot9.txt

' Tie-Bot 9

'initialize
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
14 56 store
1 .tie store
stop

cond
*.robage 1 =
start
1 .deltie store
stop

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye *56 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye *56 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
*.eye5 30 <
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye *56 !=
*.eye5 77 !=
*.eye4 *.eye6 =
start
*55 .tie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop
cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot10.txt

' Tie-Bot 10

'initialize
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
14 56 store
1 .tie store
stop

cond
*.robage 1 =
start
1 .deltie store
stop

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye *56 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye *56 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
*.eye5 30 <
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye *56 !=
*.eye5 77 !=
*.eye4 *.eye6 =
start
*55 .tie store
*55 .readtie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop

cond
*.trefeye *56 =
start
*55 .deltie store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot11.txt

' Tie-Bot 11

'initialize
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
14 56 store
1 .tie store
stop

cond
*.robage 1 =
start
1 .deltie store
stop

cond
*.eye2 *.eye8 !=
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub 2 div .aimsx store
stop

cond
*.refeye *56 =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye *56 !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
*.eye5 30 <
start
50 .repro store
stop

cond
*.eye5 30 >
*.refeye *56 !=
*.eye5 77 !=
*.eye4 *.eye6 =
start
*55 .tie store
*55 .readtie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop

cond
*.trefeye *56 =
start
*55 .deltie store
stop

cond
*.slime 90 <
start
100 .mkslime store
stop

cond
*.eye5 50 >
start
-1 .shoot store
stop

end

Tie-Bot12.txt

' Tie-Bot 12

'initialize 1
cond
*.robage 0 =
start
31998 rnd 2 add 55 store
1 .tie store
stop

'initialize 2
cond
*.robage 1 =
start
1 .deltie store
stop

cond
*.eye2 *.eye8 !=
*.eye4 *.eye6 !=
*.eye4 0 >
start
*.eye2 *.eye8 sub .aimsx store
stop

cond
*.eye4 *.eye6 !=
start
*.eye4 *.eye6 sub .aimsx store
stop

cond
*.refeye *.myeye =
start
200 .aimsx store
stop

cond
*.vel 40 <
*.refeye *.myeye !=
start
40 *.vel sub .up store
stop

cond 
*.nrg 4000 >
*.eye5 30 <
start
50 .repro store
stop

cond
*.eye5 50 >
*.refpoison 0 =
start
-1 .shoot store
stop

cond
*.eye5 30 >
*.eye4 *.eye6 %=
*.eye5 77 !=
*.refeye *.myeye !=
start
*55 .tie store
*55 .readtie store
stop

cond
*.trefeye *.myeye =
start
*55 .deltie store
stop

cond
*.numties 0 >
start
-1 .tieloc store
-1000 .tieval store
*55 .tienum store
stop

cond
*.slime 100 <
start
50 .mkslime store
stop

end