Darwinbots Forum

Bots and Simulations => Bestiary => Single store => Topic started by: MacadamiaNuts on February 02, 2007, 06:09:43 PM

Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: MacadamiaNuts on February 02, 2007, 06:09:43 PM
Not a league bot. It doesn't kill veggies or other bots, but it tiefeeds, moves and reproduces with one store.

Code: [Select]
'name: Nano
'class: One Line Bot
'version: 1.02
'author: Macadamia Nuts
'description: Multipurpose gene developed from evolved zerobot DNA.

start
50 830 5 1 rnd mult sub 500 1 rnd mult sub 30 1 rnd mult sub 299 1 rnd mult sub store
stop
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Jez on February 02, 2007, 08:16:25 PM
ROFL, Mac takes minimalism to a new level!

I'm gonna give this a new classification (1S) but only if someone else rises to the challenge.

The bar has been lowered...  
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Numsgil on February 03, 2007, 04:09:36 AM
We're going to need the story of what prompted you to try something so insane!
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: MacadamiaNuts on February 03, 2007, 04:48:23 AM
Oopsy. The eye5 adjust is wrong. It will need a fix.
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Jez on February 03, 2007, 08:45:48 AM
Do you want to edit this one or release a new version?
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: MacadamiaNuts on February 03, 2007, 05:08:36 PM
I'll edit it. I wanna check which other sysvars it could use.

I thought too about using something like "5 rnd sgn mult" instead of "1 rnd mult" to give more weight to the non repro values. It's probability DNA, some sysvars will be executed more often.
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Endy on February 03, 2007, 09:43:52 PM
Horray for Evolution and human thought  

I've made a Single store bot myself awhile ago, and it was a major pain to code and get working properly. Impressive that you were able to use evolution to make it work in a single line of code.
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: MacadamiaNuts on February 04, 2007, 04:46:17 PM
Fixed.

I wish I could add a strbody without breaking it.
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Gobo on November 30, 2007, 10:37:31 AM
Sorry, I just don't understand, how it might work
As I understood the code, it just stores 50 at random locations, which are

 -4     ?
  1     .up
 26     ?
 31     ?
295     ?
300     .repro
325     ?
330     .tie
496     ?
501     .eye1
526     .eye6dir
531     .eye1width
795     ?
800     .out1
825     ?
830     ?

Only useful of those are 1, 300 and 330. How does it tiefeed? Where is .eye5 adjust here?
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: MacadamiaNuts on November 30, 2007, 11:55:40 AM
Many sysvars aren't listed in the file included with the old installer. Check the wiki at the main page:

Sysvars (http://www.darwinbots.com/WikiManual/index.php?title=Sysvars)

830 is .sharenrg, which once they are tied it's all needed to feed. It was way stronger in the old versions, where the size wouldn't matter for energy sharing.

Still, this bot cannot live long by itself, cos it won't build any body nor take it through shooting, and without more body reproduction eventually halts. Maybe it would work if there are corpses around that shoot energy, and if the uncontrolled reproduction doesn't cut their body size below 1. If so, this bot probably could live in some really extreme sims.
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Gobo on December 01, 2007, 08:11:18 AM
[quote name='Jez' date='Feb 3 2007, 04:16 AM' post='1370489']I'm gonna give this a new classification (1S) but only if someone else rises to the challenge.
[/quote]
I do. Here is Nanosmart, cooked with best 1G recipes.

DELETED until debugged
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Peter on December 01, 2007, 11:21:01 AM
[quote name='Gobo' date='Dec 1 2007, 02:11 PM' post='1372964']
[quote name='Jez' date='Feb 3 2007, 04:16 AM' post='1370489']I'm gonna give this a new classification (1S) but only if someone else rises to the challenge.
[/quote]
I do. Here is Nanosmart, cooked with best 1G recipes.

DELETED until debugged
[/quote]
Well, if you're making a real S1-bot(is that a real clasification?) please post in the beastery.

And it is not the only one, also made by Maca.
Animal_Archaea (http://www.darwinbots.com/Forum/index.php?showtopic=2202)
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Gobo on December 01, 2007, 01:47:56 PM
Thank you for a link. Now I see, I have invented a vehicle again  
I used the same idea Maca implemented in Animal Archaea.

The only thing I can innovate is using Sanger for 1S bots like Animal Archaea.
See http://www.darwinbots.com/Forum/index.php?showtopic=2369
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Moonfisher on March 19, 2008, 05:02:02 AM
I got an S1 contender.... called Bardus.... (Also in the starting gate atm).
Just too bad Nano falls appart in newer versions of DB...
But this thing survives without problems if the environment isn't too hostile...

cond
start
*.tiepres *.robage 1 sub dup div 1 sub abs mult 220 *.robage 0 sub dup div 1 sub abs mult add 535 *.robage 2 sub dup div 1 sub abs mult add 1000 *.nrg *.body 2 mult sub sqr dup div *.eyef 0 sub dup div 1 sub abs mult *.body 3000 sub -1 mult sqr dup div mult *.robage 2 sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add *.refxpos *.refypos angle *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 0 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 10 *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 1 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add -1 *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 2 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 50 *.eyef 0 sub dup div 1 sub abs *.body 3000 sub sqr dup div mult *.robage 2 sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add 20 *.eyef 0 sub sqr dup div *.memval 220 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 3 *.eyef 0 sub dup div 1 sub abs *.robage 2 sub sqr dup div mult *.body 2999 sub -1 mult sqr dup div mult *.body *.nrg 2 div sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add *.tiepres *.numties 0 sub sqr dup div *.robage 2 sub sqr dup div mult mult add 467 *.robage 1 sub dup div 1 sub abs mult 535 *.robage 0 sub dup div 1 sub abs mult add 474 *.robage 2 sub dup div 1 sub abs mult add 313 *.nrg *.body 2 mult sub sqr dup div *.eyef 0 sub dup div 1 sub abs mult *.body 3000 sub -1 mult sqr dup div mult *.robage 2 sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add 19 *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 0 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 1 *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 1 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 7 *.robage 2 sub sqr dup div *.eyef 0 sub sqr dup div mult *.memval 220 sub dup div mult *.robage 3 mod 2 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 300 *.eyef 0 sub dup div 1 sub abs *.body 3000 sub sqr dup div mult *.robage 2 sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add 6 *.eyef 0 sub sqr dup div *.memval 220 sub dup div 1 sub abs mult *.numties 0 sub dup div 1 sub abs mult mult add 1 *.eyef 0 sub dup div 1 sub abs *.robage 2 sub sqr dup div mult *.body 2999 sub -1 mult sqr dup div mult *.body *.nrg 2 div sub sqr dup div mult *.numties 0 sub dup div 1 sub abs mult mult add 467 *.numties 0 sub sqr dup div *.robage 2 sub sqr dup div mult mult add store
stop
end

(Can't put it in a codebox for some reason... it worked in the topic in the starting gate though...)
Title: Nano (SS)(MacadamiaNuts)-02.02.07
Post by: Numsgil on March 19, 2008, 11:10:21 PM
Something weird is going on with BB code in this thread.  No idea why.