Simplebottxt

From WikiManual
Revision as of 09:47, 18 December 2005 by Griz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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


simplebot7.txt


simplebot8.txt


simplebot9.txt


simplebot10.txt


simplebot11.txt


simplebot12.txt


simplebot13.txt


simplebot14.txt


simplebot15.txt


simplebot16.txt


simplebot17.txt


simplebot18.txt


simplebot19.txt


simplebot20.txt