Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3

Author Topic: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment  (Read 3591 times)

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #15 on: August 30, 2015, 01:13:25 am »

Pah! Anyone can do anything on the Moon. bay12 Earth gravity track is where it's at!

Theory on the next "impossible" hill. Car has to teeter over hill 2 upside down, so torque'y back wheel reflips car, giving extra speed, and popping larger front wheel over the lip. Or another backflip thingo (which that sort of would be anyway. Not a loop, just a backflip).

This may take some time......
Logged
It's a game. Have fun.

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #16 on: August 30, 2015, 01:21:57 am »

After 30 generations, default settings:
#1: 113.79 d:108.92 h:-0.04/5.33m (gen 10)
#2: 113.59 d:108.2 h:0/5.23m (gen 24)
#3: 113.58 d:108.22 h:0/5.9m (gen 26)
#4: 113.57 d:108.23 h:0/5.56m (gen 25)
#5: 113.54 d:108.22 h:0/5.31m (gen 23)
#6: 113.52 d:108.22 h:0/5.61m (gen 28)
#7: 113.51 d:108.19 h:0/5.34m (gen 30)
#8: 113.5 d:108.22 h:0/5.58m (gen 27)
#9: 113.47 d:108.2 h:0/5.19m (gen 22)
#10: 113.47 d:108.2 h:0/5.47m (gen 29)
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #17 on: August 30, 2015, 01:41:00 am »

#1: 153.91 d:150.52 h:-0.06/10m (gen 46)
#2: 149.94 d:144.85 h:0/8.58m (gen 47)
#3: 149.52 d:146.27 h:0/7.4m (gen 34)
#4: 149.38 d:145.06 h:0/9m (gen 43)
#5: 148.97 d:144.57 h:0/9.14m (gen 39)
#6: 148.83 d:144.52 h:0/8.09m (gen 44)
#7: 148.78 d:144.51 h:0/8.64m (gen 40)
#8: 148.73 d:144.47 h:0/7.51m (gen 33)
#9: 148.57 d:145.07 h:0/8.26m (gen 45)
#10: 148.42 d:144.31 h:0/7.21m (gen 41)

First 30 generations were some sort of incredibly silly thing with the back wheel a tiny fraction the diameter of the fore, across an elongated body, that kept getting high centered around the 109 mark, now, even sized wheels seem to be dominating, and 1-2 make it over the wide square-ish ditch at the ~148m mark to do some backflips on that little needle peak before they die.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #18 on: August 30, 2015, 01:55:07 am »

Gen 59: Toucan Sam bought a car.

Back to more car-like looking things. Dropped the mutations way down, elites way up (eight), and just hoping they flip and loop just the right way.

Top Scores:
#1: 159.78 d:155.92 h:-0.12/8.64m (gen 53)
#2: 158.36 d:155.83 h:-0.22/8.77m (gen 59)
#3: 155.67 d:150.41 h:-0.18/7.73m (gen 42)
#4: 155.18 d:150.38 h:-0.18/7.61m (gen 43)
#5: 155.15 d:150.36 h:-0.22/7.6m (gen 35)
#6: 154.97 d:150.36 h:-0.35/6.92m (gen 34)
#7: 154.9 d:150.44 h:-0.37/7.13m (gen 46)
#8: 154.8 d:150.32 h:-0.34/7.61m (gen 40)
#9: 154.79 d:150.37 h:-0.35/6.73m (gen 41)
#10: 154.7 d:150.38 h:-0.35/6.87m (gen 37)
« Last Edit: August 30, 2015, 05:35:58 am by sambojin »
Logged
It's a game. Have fun.

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #19 on: August 30, 2015, 02:58:18 am »

Loops completely unnecessary. Last toucan just teetered over both hills and got my high of 159.83m at Gen 63. Possibly enough torque for hill 3 after genetic stuff happens. Now at 1%/1%/8E
Logged
It's a game. Have fun.

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #20 on: August 30, 2015, 05:34:28 am »

Meh. I'm crashing out. I'll leave it running overnight at 2%/2%/5E.

Maybe they'll invent jet engines or something (I'm still not sure if torque or density is capped on highs/lows yet). Third hill's a doozy though.

Top Scores:
#1: 159.83 d:156.02 h:-0.28/7.74m (gen 63)
#2: 159.82 d:156.04 h:-0.29/8.06m (gen 65)
#3: 159.78 d:155.92 h:-0.12/8.64m (gen 53)
#4: 159.66 d:156.06 h:-0.28/7.58m (gen 68)
#5: 159.49 d:156.01 h:-0.28/8.21m (gen 72)
#6: 159.44 d:155.97 h:-0.28/8.46m (gen 71)
#7: 159.07 d:155.95 h:-0.25/7.79m (gen 61)
#8: 158.36 d:155.83 h:-0.22/8.77m (gen 59)
#9: 155.67 d:150.41 h:-0.18/7.73m (gen 42)
#10: 155.18 d:150.38 h:-0.18/7.61m (gen 43)

At Gen #72.

If no one has gotten over that wall by mid morning tomorrow (my morning, +10GMT), next course can be "dwarf", which is hopefully doable.
Logged
It's a game. Have fun.

NullForceOmega

  • Bay Watcher
  • But, really, it's divine. Divinely tiresome.
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #21 on: August 30, 2015, 08:52:26 am »

Top Scores:
#1: 161.72 d:155.57 h:0/9m (gen 110)
#2: 155.99 d:150.29 h:0/8.46m (gen 137)
#3: 155.53 d:150.23 h:0/9.16m (gen 146)
#4: 155.04 d:149.82 h:0/9.14m (gen 144)
#5: 155.01 d:149.65 h:0/9.15m (gen 127)
#6: 154.8 d:150.08 h:0/8.41m (gen 151)
#7: 154.74 d:149.64 h:0/9.07m (gen 126)
#8: 154.62 d:149.61 h:0/9.74m (gen 128)
#9: 154.59 d:149.89 h:0/9.05m (gen 145)
#10: 154.56 d:150.32 h:0/9.6m (gen 104)

Only managed to get over the wall once.

Top Scores:
#1: 161.72 d:155.57 h:0/9m (gen 110)
#2: 158.65 d:156.03 h:0/9.8m (gen 158)
#3: 155.99 d:150.29 h:0/8.46m (gen 137)
#4: 155.53 d:150.23 h:0/9.16m (gen 146)
#5: 155.04 d:149.82 h:0/9.14m (gen 144)
#6: 155.01 d:149.65 h:0/9.15m (gen 127)
#7: 154.8 d:150.08 h:0/8.41m (gen 151)
#8: 154.74 d:149.64 h:0/9.07m (gen 126)
#9: 154.62 d:149.61 h:0/9.74m (gen 128)
#10: 154.59 d:149.89 h:0/9.05m (gen 145)

I'm getting closer.
« Last Edit: August 30, 2015, 08:57:55 am by NullForceOmega »
Logged
Grey morality is for people who wish to avoid retribution for misdeeds.

NullForceOmega is an immortal neanderthal who has been an amnesiac for the past 5000 years.

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #22 on: August 30, 2015, 12:33:27 pm »

Top Scores:
#1: 161.2 d:155.7 h:0/8.41m (gen 162)
#2: 160.49 d:156.38 h:0/8.42m (gen 67)
#3: 160.19 d:155.89 h:-0.17/7.87m (gen 80)
#4: 159.6 d:155.98 h:-0.1/8.87m (gen 73)
#5: 159.49 d:156.02 h:-0.14/10.33m (gen 152)
#6: 157.93 d:151.39 h:-0.15/9.02m (gen 167)
#7: 156.82 d:151.16 h:-0.22/8.66m (gen 160)
#8: 156.17 d:150.36 h:0/9.1m (gen 157)
#9: 155.97 d:150.3 h:-0.14/8.27m (gen 149)
#10: 155.93 d:150.46 h:0/8.55m (gen 156)

Left it running for a while, it seems to have had an effect.
« Last Edit: August 30, 2015, 02:40:49 pm by Arx »
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Strife26

  • Bay Watcher
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #23 on: August 30, 2015, 03:45:42 pm »

Not getting past the third hellish hill here, currently at generation 170. The cars have regressed from near-equal wheels to a giant front wheel and a tiny rear one.


#1: 159.91 d:156.16 h:0/8.23m (gen 122)
#2: 159.38 d:156.06 h:0/7.93m (gen 107)
#3: 155.55 d:151.45 h:0/8.79m (gen 88)
#4: 155.55 d:149.92 h:0/8.83m (gen 120)
#5: 155.21 d:149.93 h:0/9.51m (gen 108)
#6: 155 d:150.01 h:0/9.25m (gen 109)
#7: 154.92 d:149.95 h:0/8.92m (gen 104)
#8: 154.89 d:149.75 h:0/8.28m (gen 119)
#9: 154.82 d:150.46 h:0/9.66m (gen 106)
#10: 154.65 d:149.91 h:0/7.91m (gen 125)
Logged
Even the avatars expire eventually.

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #24 on: August 30, 2015, 04:27:15 pm »

Nope, me neither. Currently at generation 113.

How annoying. I might give my phone at least a few hours rest. Thanks for participating everyone.

You could try out the "dwarf" track if you'd like (no quotes), maybe in moon mode first, just to see if it's possible.

Top Scores:
#1: 160.31 d:156.32 h:-0.02/8.82m (gen 97)
#2: 160.03 d:156.1 h:-0.28/7.8m (gen 105)
#3: 160 d:155.98 h:-0.28/8.72m (gen 74)
#4: 159.85 d:156.01 h:-0.28/8.38m (gen 93)
#5: 159.83 d:156.02 h:-0.28/7.74m (gen 63)
#6: 159.82 d:156.04 h:-0.29/8.06m (gen 65)
#7: 159.78 d:155.92 h:-0.12/8.64m (gen 53)
#8: 159.77 d:156.04 h:-0.16/8.55m (gen 108)
#9: 159.77 d:155.95 h:-0.27/8.3m (gen 87)
#10: 159.76 d:156.04 h:-0.11/8.92m (gen 99)
Logged
It's a game. Have fun.

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #25 on: August 30, 2015, 04:37:26 pm »

Oh, and if you want to see something both disturbing and amusing, you can check out GenetiCat from the same creator. I *think* it's meant to jump from the filing cabinet to the shelf. Maybe. Here it is anyway:

http://rednuht.org/geneticat/

And a walking simulator here:

http://rednuht.org/genetic_walkers/

« Last Edit: August 30, 2015, 04:39:44 pm by sambojin »
Logged
It's a game. Have fun.

My Name is Immaterial

  • Bay Watcher
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #26 on: August 30, 2015, 05:01:42 pm »

"dwarf" is much easier. I'm running four sims at once, each at different values. The best one is interestingly the one I set to be the most generically stable. 5% mut chance, 10% mut size, 10 clones. After 15 gens:
#1: 164.99 d:161.39 h:-3.3/5.72m (gen 13)
#2: 164.7 d:161.41 h:-3.27/5.7m (gen 11)
#3: 160.22 d:156.67 h:-3.27/4.71m (gen 14)
#4: 159.96 d:156.63 h:-3.29/4.57m (gen 10)
#5: 143.11 d:139.03 h:-3.67/4m (gen 12)
#6: 140.69 d:135.1 h:-3.12/4m (gen 15)
#7: 140.37 d:135.83 h:-3.47/2.38m (gen 9)
#8: 138.81 d:134.73 h:-3.47/2.73m (gen 8)
#9: 129.27 d:123.3 h:-3.47/4m (gen 7)
#10: 125.82 d:121.21 h:-3.94/3.11m (gen 5)

Edit 1: This setup actually has zero deaths before 100 meters, which is very wierd.

Edit 2: My sim set at the default settings finally beat the super-stable one.
#1: 166.11 d:161.84 h:-3.76/7.65m (gen 46) vs. #1: 165.58 d:162.52 h:-3.38/7.8m (gen 26)

Edit 3: That wall at 140 is going to be the death of me.

Edit 4: Default settings beat the ~165 wall!
#1: 192.59 d:189.43 h:-3.52/8.89m (gen 88)
At 192, there's a massive, near vertical wall. I'll leave it going for a while and see if it can beat it.
« Last Edit: August 30, 2015, 06:37:54 pm by My Name is Immaterial »
Logged

sambojin

  • Bay Watcher
  • Three seconds to catsplosion and counting.......
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #27 on: August 30, 2015, 06:45:24 pm »

I forgot just how much of a random mishmash of "cars" you start with. I've repopulated twice now after deciding that they were all abominations and should never be allowed to breed.
Logged
It's a game. Have fun.

TheDarkStar

  • Bay Watcher
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #28 on: August 30, 2015, 08:37:01 pm »

Has anyone else tried changing the "elite clones" number? Changing it from 1 to 2 significantly reduced the number of terrible cars I got.
Logged
Don't die; it's bad for your health!

it happened it happened it happen im so hyped to actually get attacked now

My Name is Immaterial

  • Bay Watcher
    • View Profile
Re: Genetic Algorithm 2d Car Thingy: bay12 challenge/experiment
« Reply #29 on: August 30, 2015, 09:04:04 pm »

I had similar results with that.

It looks like it sorta breaks after 200; the track just bugs out completely, disappearing, looking like it's tangled up and applying seemingly random forces to the cars. I got to 200+ on dwarf with Moon gravity pretty easily. In three out of my four simulations of Moon dwarf, the most successful designs were all esentially the same; two giant wheels and a sorta rectangular in the middle, so the cars spent 90% of their time in the air, and when they landed, they landed on their wheels, gaining enough speed on their short reunion with the ground to fly off again.

Also, on the normal dwarf tests, 3/4 had nearly identical designs. They were all large wheeled, with most of their weight in a horn near their front wheel, and a long back leg.
Pages: 1 [2] 3