Author Topic: Nano (SS)(MacadamiaNuts)-02.02.07  (Read 4611 times)

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
Nano (SS)(MacadamiaNuts)-02.02.07
« 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
« Last Edit: April 22, 2007, 09:11:21 AM by Jez »
Sometimes you win, and sometimes you lose...

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #1 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...  
« Last Edit: February 02, 2007, 08:19:43 PM by Jez »
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7713
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #2 on: February 03, 2007, 04:09:36 AM »
We're going to need the story of what prompted you to try something so insane!

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #3 on: February 03, 2007, 04:48:23 AM »
Oopsy. The eye5 adjust is wrong. It will need a fix.
Sometimes you win, and sometimes you lose...

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #4 on: February 03, 2007, 08:45:48 AM »
Do you want to edit this one or release a new version?
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #5 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.
Sometimes you win, and sometimes you lose...

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #6 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.
« Last Edit: February 03, 2007, 09:45:13 PM by Endy »

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #7 on: February 04, 2007, 04:46:17 PM »
Fixed.

I wish I could add a strbody without breaking it.
« Last Edit: February 04, 2007, 05:08:53 PM by MacadamiaNuts »
Sometimes you win, and sometimes you lose...

Offline Gobo

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #8 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?
« Last Edit: November 30, 2007, 10:49:20 AM by Gobo »

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #9 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

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.
« Last Edit: November 30, 2007, 05:52:36 PM by Numsgil »
Sometimes you win, and sometimes you lose...

Offline Gobo

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #10 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
« Last Edit: December 01, 2007, 08:35:06 AM by Gobo »

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #11 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
Oh my god, who the hell cares.

Offline Gobo

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #12 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
« Last Edit: December 01, 2007, 01:59:31 PM by Gobo »

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #13 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...)
« Last Edit: March 19, 2008, 05:30:40 AM by Moonfisher »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7713
    • View Profile
Nano (SS)(MacadamiaNuts)-02.02.07
« Reply #14 on: March 19, 2008, 11:10:21 PM »
Something weird is going on with BB code in this thread.  No idea why.