Author Topic: Primitive Solitarius Satietas (F3) (SlyStalker)  (Read 3817 times)

Offline SlyStalker

  • Bot Destroyer
  • ***
  • Posts: 132
  • nomnomnomnom
    • View Profile
Primitive Solitarius Satietas (F3) (SlyStalker)
« on: March 10, 2013, 04:21:51 AM »
Code: [Select]
'Primitivae Solitarius Satietas
'Primitive Solitary Feeder
'By: SlyStalker
'Basic bot with a fast rate of expansion

'Gene 1 Reproduction
'Reproduces, keeping 65% nrg, and turns

cond
  *.nrg
  4999
  >
start
  15
  .repro
  store
  514
  .aimdx
  store
  25
  .repro
  store
stop


'Gene 2 Shooting -1 Particles
'Shoots a stream of -1 particles forward

cond
  *.eye5
  18
  >
  *.refeye *.myeye = or
  *.body
  *.nrg
  >
start
  -1
  .shoot
  store
stop


'Gene 3 Shooting Body Particles
'Shoots a stream of -6 particles forward
cond
  *.eye5
  18
  >
  *.refeye *.myeye = or
  *.body
  *.nrg
  <
start
  -1
  .shoot
  store
stop
 


'Gene 4 Moving Closer to Prey
'Moves robot closer to weaker prey

cond
  *.eye5
  0
  >
  *.refnrg
  *.nrg
  <
  *.refup
  2
  !=
start
  15
  .up
  store
  -1
  .shoot
  store
stop


'Gene 5 Food Finder
cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop


'Gene 6 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop


'Gene 7 Altruism Gene
'Sharing is caring
cond
  *.eye5
  100
  =
  *.refeye *.myeye = or
  *.refnrg
  500
  <
  *.nrg
  1500
  >
start
  -2
  .shoot
  store
stop


'Gene 8 Getting rid of tie feeders
'Cuts any ties
cond
  *.numties
  0
  >
start
  *.tiepres
  .deltie
  store
stop


'Gene 9 Waste disposal
'Shoots off excess waste. Who needs a garbage man?
cond
 *.waste 15 >
start
 -6 .shoot store
stop



end
Knowledge is knowing that a tomato is a fruit; Wisdom is not putting it in a fruit salad.

Offline Tilthanseco

  • Bot Builder
  • **
  • Posts: 60
    • View Profile
Re: Primitive Solitarius Satietas (F3) (SlyStalker)
« Reply #1 on: March 10, 2013, 07:12:39 PM »
Looking good, but there are some errors...
Code: [Select]
'Gene 3 Shooting Body Particles
'Shoots a stream of -6 particles forward
cond
  *.eye5 18  >
  *.refeye *.myeye = or
  *.body  *.nrg  <
start
  -1  .shoot  store
stop
Didn't you want body shots -6?
*.refeye *.myeye = or will shoot at your own species. I suggest "!=" and leave off the "or".
*.body  *.nrg  < This will look at the own bot and not the other, do you mean *.refbody ...

Code: [Select]
'Gene 7 Altruism Gene
'Sharing is caring
cond
  *.eye5  100  =
  *.refeye *.myeye = or
  *.refnrg  500  <
  *.nrg  1500  >
start
  -2  .shoot  store
stop
  *.eye5  100  =
  *.refeye *.myeye = or
This will give nrg to anything at *.eye5 == 100 or any relative. Maybe *.eye5  80  > and leaving off the "or"

In your Waste Gene, I think -4 is for shooting waste, not -6 (body shots).

Last, I think the standard formatting for uploaded dna is the what I presented, mainly because it is easier to read.
(But you may present your creation in whatever form you desire.)

Overall, you'll make Numsgil proud.
« Last Edit: March 10, 2013, 07:17:35 PM by Tilthanseco »
Undisputed creator of bot Sonar!

Offline SlyStalker

  • Bot Destroyer
  • ***
  • Posts: 132
  • nomnomnomnom
    • View Profile
Re: Primitive Solitarius Satietas (F3) (SlyStalker)
« Reply #2 on: March 11, 2013, 12:05:42 AM »
Thanks! sorry, this is my first bot... but i'll definitely fix it!
Knowledge is knowing that a tomato is a fruit; Wisdom is not putting it in a fruit salad.