Evolve a Car

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
Check out this site:
http://boxcar2d.com/

Let it run overnight, change a few parameters (mutation rate, frequency distribution, number of wheels etc.) and see what kind of weird car you can get. Post pics and scores :D.

Have fun :).
 
Last edited:

luxe

Expert Member
Joined
Mar 19, 2010
Messages
2,454
I am not seeing evolution?

On Generation 8, have "evolved" backwards from wheels to polygons that go nowhere.
 

porchrat

Honorary Master
Joined
Sep 11, 2008
Messages
34,277
I am not seeing evolution?

On Generation 8, have "evolved" backwards from wheels to polygons that go nowhere.

It depends which ones from the previous generation mated with that roulette part of the algorithm. Some will go backwards and eventually disappear while the ones that continue to reach the distances required will live on. After a while it had 2 wheelers with every single one shaped very much like a motorcycle only the back wheel was the medium sized one and the front wheel was the big one... sort of like a longer penny-farthing. Something like 2 thirds of them were reaching their distances. Very cool.
 

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
Version 2 is out. More tracks, more options etc. My v1.2 bakkie is stuck @ 549.9 :mad:. Seems to have hit a local optimum with a mutation rate @ 2%. Better crank up the mutation rate, maybe that will help.

EDIT: Ah snap mikeyb beat me to it :p.
 

mikeyb

Senior Member
Joined
May 22, 2008
Messages
656
Version 2 is out. More tracks, more options etc. My v1.2 bakkie is stuck @ 549.9 :mad:. Seems to have hit a local optimum with a mutation rate @ 2%. Better crank up the mutation rate, maybe that will help.

EDIT: Ah snap mikeyb beat me to it :p.

Yeah, mine was set with a mutation rate of 1%. I ran it for about 15 hours. Couldn't get past a hill at 534ish :crying:, but at least all my cars in a gerneration could get there.
 

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
Post pics :D.

Caught this chap, all the good ones look similar.
attachment.php
 

luxe

Expert Member
Joined
Mar 19, 2010
Messages
2,454
I ran it for a few hours, 6 wheels max at 25% frequency , mutation at 5%, and hit over 1000 on generation 28.

Once i hit 1000, i put the mutation down to 1%, and it got really boring.

Then my laptop battery died, and the pc hard booted.
 

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
A thousand? is that the score in brackets or before it. I think the highest score in brackets I had was 1019 or something like that. It is just double the score of the actual terrain covered IIRC.
 

luxe

Expert Member
Joined
Mar 19, 2010
Messages
2,454
A thousand? is that the score in brackets or before it. I think the highest score in brackets I had was 1019 or something like that. It is just double the score of the actual terrain covered IIRC.

Score before the brackets.

Using version 2, using the UP and DOWN modifiers, I got to 300 on generation 9.

trying to replicate it now, so you can believe me :)
 
Last edited:

Archer

Honorary Master
Joined
Jan 7, 2010
Messages
22,423
Score before the brackets.

Using version 2, using the UP and DOWN modifiers, I got to 300 on generation 9.

trying to replicate it now, so you can believe me :)

:p 384 Gen 6, but looks like its stuck there now

Weird how sometimes you think, nah, thats gonna go nowhere and then it beats the previous gen.
 

Archer

Honorary Master
Joined
Jan 7, 2010
Messages
22,423
Mine is also stuck at 384.3 :confused: Why wont they go further? It just stops when it gets that far
 

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
I think it is a quirk with version 2. Either try the "Hang Ten" or "Big air" terrain in version 2 or version 1.2. So far version 1.2 and Hang ten are the most fun for me.
 

Archer

Honorary Master
Joined
Jan 7, 2010
Messages
22,423
Gah, that sucks, have to start over now :/
Had the perfect four wheeler...
 

Techne

Honorary Master
Joined
Sep 28, 2008
Messages
12,851
mah new champ :wtf:
attachment.php





Looks like this is the max so far for v1.2. Try getting up this hill....


offthecharts.png
 
Last edited:
Top