Simplebottxt

From WikiManual
Revision as of 09:56, 18 December 2005 by Griz (talk | contribs)
Jump to: navigation, search

simplebot1.txt

'Simplebot
'Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
start
  5 .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

end

simplebot2.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
start
  5 .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

simplebot3.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
start
  5 .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 6 =
*.eye5 0 >
start
180 .aimdx store
stop

end

simplebot4.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
start
  5 .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 6 =
*.eye5 0 >
start
180 .aimdx store
stop

end

simplebot5.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
start
  30 *.vel sub .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 6 =
*.eye5 0 >
start
180 .aimdx store
stop

end

simplebot6.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.numties 0 =
start
  30 *.vel sub .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 6 =
*.eye5 0 >
start
180 .aimdx store
stop

end

simplebot7.txt


simplebot8.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.numties 0 =
start
  30 *.vel sub .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 5 =
start
180 .aimdx store
stop

end

simplebot9.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.numties 0 =
  *.refeye 5 !=
start
  30 *.vel sub .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 5 =
start
180 .aimdx store
stop

end

simplebot10.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 5 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 5 =
start
180 .aimdx store
stop

end

simplebot11.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 5 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 5 =
start
180 .aimdx store
stop

' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
-100 .aimdx store
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
100 .aimdx store
stop

end

simplebot12.txt

' Simplebot 1
' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 9 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 9 =
start
180 .aimdx store
stop

' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
-100 .aimdx store
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
100 .aimdx store
stop

end

simplebot13.txt

' Simplebot 1
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
-100 .aimdx store
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
100 .aimdx store
stop

' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 9 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 9 =
start
180 .aimdx store
stop

end

simplebot14.txt

' Simplebot 1
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -100 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 100 
stop

' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
mult -25 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
mult 25
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 9 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 9 =
start
mult 180 
stop

' Gene 9. rotate
cond
start
.aimdx store
stop

end

simplebot15.txt

' Simplebot 1
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -100 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 100 
stop

' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
mult -25 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
mult 25
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 10 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
  *.eye5 40 <
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 10 =
start
mult 180 
stop

' Gene 9. rotate
cond
start
.aimdx store
stop

end

simplebot16.txt

' Simplebot 1
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -100 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 100 
stop

' Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
mult -25 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
mult 25
stop

' Gene 3. Move forward
cond
  *.vel 30 <
  *.refeye 9 !=
start
  30 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 9 =
start
mult 180 
stop

' Gene 12
cond
*50 0 >
start
mult 628
50 dec
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
mult 628
50 inc
stop

' Gene 9. rotate
cond
start
.aimdx store
stop

' Gene10. Tie to parent
cond
*.robage 0 =
start
.tie inc
stop

' Gene 11. Sever tie to parent
cond
*.robage 1 =
start
.deltie inc
stop

end

simplebot17.txt

' Simplebot V2.3
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -140 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 140 
stop

' Gene1. Simple search pattern.
cond
  *.eye4 *.eye5 >
start
mult -35 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye6 *.eye5 >
start
mult 35 
stop

' Gene 3. Move forward
cond
  *.vel 40 <
  *.refeye 9 !=
start
  40 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
  *.refeye *.myeye !=
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye 9 =
start
mult 180 
stop

'Gene 9. Get rid of that waste
cond
*.waste 100 >
start
-4 .shoot store
*.waste .shootval store
stop

' Gene 10. Perform the rotation
cond
start
.aimdx store
stop

' Gene 11. slide to the side.
cond
*.aimdx 0 !=
*.aimdx 180 !=
start
*.aimdx 10 div .dx store
stop

end

simplebot18.txt

' Simplebot V2.3
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -140 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 140 
stop

' Gene1. Simple search pattern.
cond
  *.eye4 *.eye6 >
start
mult -35 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye6 *.eye4 >
start
mult 35 
stop

' Gene 3. Move forward
cond
  *.vel 40 <
  *.refeye *.myeye !=
start
  40 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
  *.refeye *.myeye !=
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
*.nrg 5000 >
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye *.myeye =
start
mult 180 
stop

'Gene 9. Get rid of that waste
cond
*.waste 100 >
start
1 .backshoot store
-4 .shoot store
*.waste .shootval store
stop

' Gene 10. Perform the rotation
cond
start
.aimdx store
stop

' Gene 11. slide to the side.
cond
*.aimdx 0 !=
*.aimdx 180 !=
start
*.aimdx 10 div .dx store
stop

end

simplebot19.txt

' Simplebot V2.3
' Gene 7 wide search 1
cond
*.eye1 *.eye5 >
start
mult -140 
stop

' Gene 8 wide search 2
cond
*.eye9 *.eye5 >
start
mult 140 
stop

' Gene1. Simple search pattern.
cond
  *.eye4 *.eye6 >
start
mult -35 
stop

' Gene2. Simple search pattern part 2
cond
  *.eye6 *.eye4 >
start
mult 35 
stop

' Gene 3. Move forward
cond
  *.vel 40 <
  *.refeye *.myeye !=
start
  40 *.vel sub 2 div .up store
stop

' Gene 4. Shoot the food
cond
  *.eye5 40 >
  *.refeye *.myeye !=
start
  -1 .shoot store
stop

' Gene 5. Reproduce
cond
*.nrg 5000 >
*.eye5 40 <
start
  50 .repro store
stop

' Gene 6. Avoid conspecifics
cond
*.refeye *.myeye =
start
mult 180 
stop

'Gene 9. Get rid of that waste
cond
*.waste 100 >
start
1 .backshoot store
-4 .shoot store
*.waste .shootval store
stop

' Gene 10. Perform the rotation
cond
start
.aimdx store
stop

' Gene 11. slide to the side.
cond
*.aimdx 0 !=
*.aimdx 180 !=
start
*.aimdx 10 div .dx store
stop

end

simplebot20.txt