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 - Lyndon

Pages: [1]
1
Evolution and Internet Sharing Sims / Single Bot Sim?
« on: October 09, 2008, 01:04:43 PM »
Er I haven't really posted all that much but earlier this year I had a fair bit of fun playing with Darwinbots and just picked it up again to have something to do when my computer just sits there.
Anyway I have been trying an evosim using a zerobot but sadly haven't really got the patience or processing power for anything good (1.4GHZ laptop...), my current proper evosim consits of 50 zerobots with 100 base pair and has been running about 4 hours, no discernible change in behaviour but they are developing some interesting mutations that might allow for reproduction and locomotion, I have made them veggies as having nrg shooting bots bogs down my cycles a second, put gravity on so they fall to the bottom and added Brownian motion, any suggestions as to when they will learn to reproduce?

On to the topic I wanted to discuss, I have left my original evosim for the moment and tried something odd, I have create a sim governed by the same rules as the original except it has only 1 bot in it, my cycles a second are between 650 and 1060 and have had over 35 million so far. I was just wondering whether others have tried single bot sims and whether they are worth something since they are quicker than normal ones.
So far my little bot has 83 mutations, 3 genes and a few store commands. None of the genes are activate though.

2
Newbie / Hello! And a few questions
« on: July 19, 2008, 08:57:26 AM »
Hello, I found Darwinbots a few days ago while looking for artificial life simulators and have become quite addicted to it.
I have a few questions though;

Does .vshoot shoot straight ahead? Because whenever I use it it seems to shoot in rather weird directions.

What is a Zerobot and Evosim? I read somewhere that an Evosim is an Evolution Sim but so far the bot's I use don't seem to evolve all that well.

I am still a bit new to bot programming but I came up with this rather long winded bot that is meant to grab veggies and use them as batteries as well as eat other bots, is it any good or too long winded?
Code: [Select]
' Advanced Bot
' I grab a Vegiie and share nrgy
' That way I can have a stable source of nrgy
' I'll still eat other things
' I can also check to see if other bots have poison or shells

' Gene 1 Reproduce
cond
 *.nrg 3000 >
star
 50 .repro store
 10 .aimdx store
stop

‘Gene 2. Simple search pattern part 1
cond
 *.eye3 *.eye5 >
start
 -25 .aimdx store
stop

‘Gene 3. Simple search pattern part 2
cond
 *.eye7 *.eye5 >
start
 25 .aimdx store
stop

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

' Gene 5 Eat Food with shell
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refshell 0 > ' Has a shell so use -1 shot
start
 -1 .shoot store
 *.refvelup .up store
stop

' Gene 6 Eat Food with poison
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refshell 0 =
 *.refpoison 0 >
start
 -6 .shoot store
 *.refvelup .up store
stop

' Gene 7 Shoot out a tie to veggie
cond
 *.refeye *.myeye !=
 *.eye5 45 >
 *.refshoot 1 <
 *.tienum 1 <
 *.refnrg 100 >
start
 13 .tie *.robage sgn mult *.refage sgn mult store
stop

' Gene 8 Store latest tie number
cond
 *.tiepres 0 >
 *.tienum 0 =
start
 *.tiepres .tienum store
stop

' Gene 9 Share energy
cond
 *.tienum 0 >
start
 75 .sharenrg
 store

 1 .sharewaste store
stop

' Gene 10 Eat Food without poison or Shell and not a veggie
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refshell 0 =
 *.refpoison 0 =
 *.refshoot 0 >
start
 -6 .shoot store
 *.refvelup .up store
stop

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

' Gene 12 Form and break birth ties
cond
 *.robage 2 <
start
 .tie *.robage 1 add mult inc
 .deltie inc
stop

' Gene 13 make body
cond
 *.nrg 2000 >
 *.body 500 <
start
 200 .strbody store
stop

' Gene 14 Waste
cond
 *.waste 40 >
start
 .backshot inc
 -4 .shoot store
 *.waste .shootval store
stop

' Gene 15 Defend Against fixed shots
cond
start
 .fixpos *.fixed mult dec
stop

' Gene 16 Set Poison loc
cond
 *.robage 0 =
start
 .shoot .ploc store
stop

' Gene 17 Make Poison
cond
 *.nrg 100 >
 *.poison 500 <
start
 50 .strpoison store
stop

' Gene 18 Escape from Tie feeder
cond
 *.tienum 0 >
 *.pain 500 >
start
 .tiepres .deltie store
stop
end
Some of it was admittedly copy and paste work.

I'd also like to know what a conditionless bot is.

Sorry about the long post >.< Perhaps I should Attach the file instead.

Pages: [1]