Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Billylegota

Pages: [1]
1
Bot Tavern / simple virus bot project
« on: August 15, 2013, 10:52:32 PM »
I am new to darwinbots and am starting to work on my first bot, I thought that my code would work but when I tried it the bots just acted like the animal minimal bot, without my added virus spread. Please help.

Here is the code:

'Animal_Minimalis
'By: Nums
'Good for mutation sims and for
'newbies to see how a basic bot works.
'Contains everything necessary for it
'to survive and reproduce.

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

' Gene 2 Eat Food
cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-1 .shoot store
 *.refvelup .up store
stop

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

' Gene 4 Reproduce
cond
 *.nrg 20000 >
start
 10 .repro store
stop

' Gene 5 make virus
cond
 *.vitmer 0 =
start
 7 .mkvirus store
stop

' Gene 6 virus prevention
cond
*.robage 0 =
start
7 989 store
stop

' Gene 7 virus gene
cond
7 *989 !=
start
*.thisgene 1 rnd 2 mult -1 add add .delgene store

end

2
Newbie / alge minimal bug
« on: August 15, 2013, 09:46:12 PM »
I just got darwinbots 2 and think it is amazing, there is just one issue: the alge minimal bots keep splitting into 300+ mini ones and killing my computer, what can I do to fix this?

Here is the alge minimal bot's code:

' Alga minimalis
'
' Vegetable
'
' This robot has a single gene,
' necessary for it to reproduce.
' Energy is given to it by the program,
' by checking the "autotroph" box.

cond
  *.nrg
  6000
  >
start
  50
  .repro
  store
  15
  .aimdx
  store
stop
end

Thanks in advance...

Pages: [1]